mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add pkg dir to var
This commit is contained in:
parent
55835b97e8
commit
b795a5acfa
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ systemd-nspawn -D $1 /bin/bash -c "echo 'Server = https://mirror.rackspace.com/a
|
|||
systemd-nspawn -D $1 /bin/bash -c "sed -i -e 's:^CheckSpace:#CheckSpace:g' /etc/pacman.conf"
|
||||
# enable parallel downloads
|
||||
systemd-nspawn -D $1 /bin/bash -c "sed -i -e 's:^#ParallelDownloads:ParallelDownloads:g' /etc/pacman.conf"
|
||||
mkdir $1/var/cache/pacman/pkg/
|
||||
cp /var/cache/pacman/pkg/linux-"$(systemd-nspawn -D archboot-release pacman -Qi linux | grep Version | cut -d ":" -f2)"* $1/var/cache/pacman/pkg/
|
||||
# reinstall kernel to get files in /boot
|
||||
systemd-nspawn -D $1 pacman -Sy linux --noconfirm
|
||||
|
|
Loading…
Reference in a new issue