From: Theodore Ts'o Date: Tue, 4 Jan 2022 05:02:22 +0000 (-0500) Subject: setup-schroot: install the udev and systemd packages separately X-Git-Tag: v1.46.6-rc1~67 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8786b013bc794c7c024b7213114a5175d56ae2d3;p=tools%2Fe2fsprogs.git setup-schroot: install the udev and systemd packages separately 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 --- diff --git a/contrib/setup-schroot b/contrib/setup-schroot index 7961445..f3f45c6 100755 --- a/contrib/setup-schroot +++ b/contrib/setup-schroot @@ -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"