Skip to content

Commit

Permalink
test(FULL SYSTEMD): no need to include dbus to the target rootfs
Browse files Browse the repository at this point in the history
systemd does not depend on dbus.
  • Loading branch information
LaszloGombos committed Nov 8, 2023
1 parent 4d59421 commit c20533f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/TEST-04-FULL-SYSTEMD/test-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ if getargbool 0 rd.shell; then
setsid $CTTY sh -i
fi
echo "Powering down."
systemctl --no-block poweroff
exit 0
poweroff -f
2 changes: 1 addition & 1 deletion test/TEST-04-FULL-SYSTEMD/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test_setup() {

# Create what will eventually be our root filesystem onto an overlay
"$DRACUT" -l --keep --tmpdir "$TESTDIR" \
-m "test-root dbus" \
-m "test-root systemd" \
-I "ldconfig" \
-i ./test-init.sh /sbin/test-init \
-i ./fstab /etc/fstab \
Expand Down

0 comments on commit c20533f

Please sign in to comment.