Skip to content
Snippets Groups Projects
Commit 89bda921 authored by Seblu's avatar Seblu Committed by Pierre Schmitz
Browse files

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: default avatarSébastien Luttringer <seblu@seblu.net>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 0dc2550a
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
m4_include(lib/common.sh) m4_include(lib/common.sh)
base_packages=(base base-devel sudo) base_packages=(base-devel)
makechrootpkg_args=(-c -n) makechrootpkg_args=(-c -n)
cmd="${0##*/}" cmd="${0##*/}"
......
...@@ -41,7 +41,7 @@ usage() { ...@@ -41,7 +41,7 @@ usage() {
echo '' echo ''
echo 'The chroot "root" directory must be created via the following' echo 'The chroot "root" directory must be created via the following'
echo 'command:' echo 'command:'
echo ' mkarchroot <chrootdir>/root base base-devel sudo' echo ' mkarchroot <chrootdir>/root base-devel'
echo '' echo ''
echo "Default makepkg args: $makepkg_args" echo "Default makepkg args: $makepkg_args"
echo '' echo ''
...@@ -112,7 +112,7 @@ if [[ ! -d $chrootdir ]]; then ...@@ -112,7 +112,7 @@ if [[ ! -d $chrootdir ]]; then
fi fi
if [[ ! -d $chrootdir/root ]]; then 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 fi
umask 0022 umask 0022
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment