summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Luttringer <seblu@seblu.net>2013-03-14 03:55:39 +0100
committerPierre Schmitz <pierre@archlinux.de>2013-03-17 11:23:24 +0100
commit89bda9217d4c0bb547448afd3439963075c35caf (patch)
tree90a61e88af14a398dbf3dac670391997ba01a368
parent0dc2550af36fa0b14dae7317e63707408021d1f9 (diff)
archbuild: only use base-devel to new chroot
Since TODO [1] which state: It would be good for base-devel to install everything needed for a build chroot we can remove base and sudo [1] https://www.archlinux.org/todo/add-more-to-base-devel/ Signed-off-by: Sébastien Luttringer <seblu@seblu.net> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rw-r--r--archbuild.in2
-rw-r--r--makechrootpkg.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/archbuild.in b/archbuild.in
index 4054de7..9f9633c 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -2,7 +2,7 @@
m4_include(lib/common.sh)
-base_packages=(base base-devel sudo)
+base_packages=(base-devel)
makechrootpkg_args=(-c -n)
cmd="${0##*/}"
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 08c76a8..1f0bbb2 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -41,7 +41,7 @@ usage() {
echo ''
echo 'The chroot "root" directory must be created via the following'
echo 'command:'
- echo ' mkarchroot <chrootdir>/root base base-devel sudo'
+ echo ' mkarchroot <chrootdir>/root base-devel'
echo ''
echo "Default makepkg args: $makepkg_args"
echo ''
@@ -112,7 +112,7 @@ if [[ ! -d $chrootdir ]]; then
fi
if [[ ! -d $chrootdir/root ]]; then
- die "Missing chroot dir root directory. Try using: mkarchroot $chrootdir/root base base-devel sudo"
+ die "Missing chroot dir root directory. Try using: mkarchroot $chrootdir/root base-devel"
fi
umask 0022