fix naming of new latest config files

This commit is contained in:
Tobias Powalowski 2021-10-05 16:08:23 +02:00
parent f863b15271
commit dafc1f6c12
4 changed files with 2 additions and 30 deletions

View file

@ -49,7 +49,7 @@ build ()
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')"
done
add_file "/usr/share/archboot/latest_installer/etc/passwd" "/etc/passwd"
add_file "/usr/share/archboot/installer_latest/etc/passwd" "/etc/passwd"
add_file "/etc/profile"
add_file "/etc/group"
add_file "/etc/gshadow"

View file

@ -5,7 +5,7 @@ build ()
{
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer.sh"
add_file "/usr/bin/archboot-create-container.sh"
add_file "/usr/share/archboot/latest_installer/etc/profile.d/latest-installer.sh" "/etc/profile.d/latest-installer.sh"
add_file "/usr/share/archboot/installer_latest/etc/profile.d/latest-installer.sh" "/etc/profile.d/latest-installer.sh"
}
help ()

View file

@ -1,23 +0,0 @@
root:x:0:0:root:/root:/bin/sh
bin:x:1:1::/:/usr/bin/nologin
daemon:x:2:2::/:/usr/bin/nologin
mail:x:8:12::/var/spool/mail:/usr/bin/nologin
ftp:x:14:11::/srv/ftp:/usr/bin/nologin
http:x:33:33::/srv/http:/usr/bin/nologin
nobody:x:65534:65534:Nobody:/:/usr/bin/nologin
dbus:x:81:81:System Message Bus:/:/usr/bin/nologin
systemd-journal-remote:x:981:981:systemd Journal Remote:/:/usr/bin/nologin
systemd-network:x:980:980:systemd Network Management:/:/usr/bin/nologin
systemd-oom:x:979:979:systemd Userspace OOM Killer:/:/usr/bin/nologin
systemd-resolve:x:978:978:systemd Resolver:/:/usr/bin/nologin
systemd-timesync:x:977:977:systemd Time Synchronization:/:/usr/bin/nologin
systemd-coredump:x:976:976:systemd Core Dumper:/:/usr/bin/nologin
uuidd:x:68:68::/:/usr/bin/nologin
avahi:x:975:975:Avahi mDNS/DNS-SD daemon:/:/usr/bin/nologin
named:x:40:40:BIND DNS Server:/:/usr/bin/nologin
dhcpcd:x:974:974:dhcpcd privilege separation:/:/usr/bin/nologin
dnsmasq:x:973:973:dnsmasq daemon:/:/usr/bin/nologin
git:x:972:972:git daemon user:/:/usr/bin/git-shell
ntp:x:87:87:Network Time Protocol:/var/lib/ntp:/bin/false
openvpn:x:971:971:OpenVPN:/:/usr/bin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/usr/bin/nologin

View file

@ -1,5 +0,0 @@
cd /
sed -i -e 's#zsh#sh#g' /etc/passwd
echo "Waiting 10 seconds for getting an internet connection through dhcpcd..."
sleep 10
update-installer.sh -latest-install