Description:do not install passwd when init_ext defined

Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: cat <chenjinxiang3@huawei.com>
This commit is contained in:
cat 2024-09-15 07:49:29 +00:00
parent 50f9ae148a
commit 243e4739c7

View File

@ -10,7 +10,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//base/startup/init/begetd.gni")
import("//base/startup/init/services/etc/passwd_appender/passwd_appender.gni")
if (defined(ohos_lite)) {
@ -104,6 +104,9 @@ if (defined(ohos_lite)) {
"system",
"updater",
]
if (startup_init_extra_static_modules != "") {
install_enable = false
}
part_name = "init"
subsystem_name = "startup"
}
@ -114,6 +117,9 @@ if (defined(ohos_lite)) {
"system",
"updater",
]
if (startup_init_extra_static_modules != "") {
install_enable = false
}
part_name = "init"
subsystem_name = "startup"
}