Whamcloud - gitweb
setup-schroot: install the udev and systemd packages separately
authorTheodore Ts'o <tytso@mit.edu>
Tue, 4 Jan 2022 05:02:22 +0000 (00:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Jan 2022 05:02:22 +0000 (00:02 -0500)
On non-Linux Debian ports (e.g., GNU/Hurd and GNU/kFreeBSD) the udev
and systemd packages don't exist.  So try to install them separately,
so they can fail on their own on those platforms.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
contrib/setup-schroot

index 7961445..f3f45c6 100755 (executable)
@@ -38,7 +38,8 @@ dd-schroot-cmd -c "$CHROOT" apt-get update
 dd-schroot-cmd -c "$CHROOT" -y apt-get upgrade
 dd-schroot-cmd -c "$CHROOT" -y apt-get build-dep e2fsprogs
 dd-schroot-cmd -c "$CHROOT" -y apt-get install git gdb emacs-nox lintian \
-       acl libreadline-dev dh-exec udev systemd cron
+       acl libreadline-dev dh-exec cron
+dd-schroot-cmd -c "$CHROOT" -y apt-get install udev systemd
 echo " "
 echo "Start chroot by running: "
 echo "schroot -r -c $CHROOT"