mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix path for cleanup and pacman gpg copying
This commit is contained in:
parent
46687ab895
commit
576247afd9
1 changed files with 5 additions and 3 deletions
|
@ -3,11 +3,13 @@
|
||||||
|
|
||||||
build ()
|
build ()
|
||||||
{
|
{
|
||||||
|
# remove initrd-release
|
||||||
|
rm -f /tmp/etc/initrd-release
|
||||||
# remove pacman-init.service
|
# remove pacman-init.service
|
||||||
rm -f /tmp/*/root/etc/systemd/system/multi-user.target.wants/pacman-init.service
|
rm -f /tmp/etc/systemd/system/multi-user.target.wants/pacman-init.service
|
||||||
rm -f /tmp/*/root/etc/systemd/system/pacman-init.service
|
rm -f /tmp/etc/systemd/system/pacman-init.service
|
||||||
# add created gpg keyring
|
# add created gpg keyring
|
||||||
cp -ar /etc/pacman.d/gnupg /tmp/*/root/etc/pacman.d
|
cp -ar /etc/pacman.d/gnupg /tmp/etc/pacman.d
|
||||||
apps="login nologin"
|
apps="login nologin"
|
||||||
for i in $apps; do
|
for i in $apps; do
|
||||||
rm /usr/bin/"$i"
|
rm /usr/bin/"$i"
|
||||||
|
|
Loading…
Reference in a new issue