aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2022-01-04 00:02:22 -0500
committerTheodore Ts'o <tytso@mit.edu>2022-01-04 00:02:22 -0500
commit8786b013bc794c7c024b7213114a5175d56ae2d3 (patch)
tree30eb63dc947010b4148dcb12b3220edaa8de129b
parent8535250a8eeeb441cf466124cc420724935022eb (diff)
downloade2fsprogs-8786b013bc794c7c024b7213114a5175d56ae2d3.tar.gz
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 <tytso@mit.edu>
-rwxr-xr-xcontrib/setup-schroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/setup-schroot b/contrib/setup-schroot
index 7961445e8..f3f45c6ae 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"