add nano and wget to latest image

This commit is contained in:
Tobias Powalowski 2021-10-07 20:43:47 +02:00
parent eb10ff6f49
commit 32986fc45f
4 changed files with 12 additions and 7 deletions

View file

@ -63,10 +63,12 @@ build ()
add_full_dir "/etc/profile.d"
systemfiles="bash.bashrc bash.bash_logout crypttab fstab host.conf hosts inputrc mke2fs.conf \
nanorc nsswitch.conf protocols request-key.conf resolv.conf securetty \
services"
services wgetrc"
for i in $systemfiles; do
add_file "/etc/$i"
done
### add nano files
add_full_dir /usr/share/nano
### adding config files of installation system
for i in $(find /usr/share/archboot/base/etc/* ! -type d); do

View file

@ -13,7 +13,8 @@ build ()
add_symlink /var/lock ../run/lock
apps="agetty basename mount umount clear env printf gawk tty bash partprobe cp mv rm sed grep \
kill killall more ps pwd rmdir true cat mkdir echo false sleep kmod pidof touch chmod find wc"
kill killall more ps pwd rmdir true cat mkdir echo false sleep kmod pidof touch chmod \
find wc nano wget"
for i in $apps; do
add_binary "$i"
done
@ -39,12 +40,14 @@ build ()
add_file "/usr/share/terminfo/l/linux"
add_full_dir "/etc/profile.d"
systemfiles="bash.bashrc bash.bash_logout fstab host.conf hosts inputrc \
nsswitch.conf protocols request-key.conf resolv.conf securetty \
services"
nanorc nsswitch.conf protocols request-key.conf resolv.conf securetty \
wgetrc services"
for i in $systemfiles; do
add_file "/etc/$i"
done
add_full_dir /usr/share/nano
### adding config files of installation system
for i in $(find /usr/share/archboot/base/etc/* ! -type d ! -name passwd); do
add_file "$i" "$(echo $i | sed -e 's#/usr/share/archboot/base##g')"

View file

@ -4,7 +4,7 @@
build ()
{
add_checked_modules -f 'nfp' -f 'liquidio' -f 'mellanox' -f 'wireless' '/drivers/net/'
apps="route ip"
apps="route ip wget"
for i in $apps; do
add_binary "$i"
done

View file

@ -1,4 +1,4 @@
root:x:0:0:root:/root:/bin/sh
root:x:0:0:root:/root:/bin/bash
bin:x:1:1::/:/usr/bin/nologin
daemon:x:2:2::/:/usr/bin/nologin
mail:x:8:12::/var/spool/mail:/usr/bin/nologin