This commit is contained in:
simono41 2018-07-17 23:31:37 +02:00
parent 810921e315
commit 58367f9e53
3 changed files with 3 additions and 1 deletions

View file

@ -38,6 +38,7 @@ function minimalinstallation() {
cp -v /opt/${repo}/install/cow_device ${mountpoint}/usr/lib/initcpio/install/
cp -v /opt/${repo}/hooks/cow_device ${mountpoint}/usr/lib/initcpio/hooks/
mkdir -p ${mountpoint}/etc/pacman.d/hooks
cp -v /opt/${repo}/pacman-hooks/* ${mountpoint}/etc/pacman.d/hooks/
# scripts

View file

@ -131,6 +131,7 @@ function system() {
cp -v install/cow_device ${work_dir}/${arch}/airootfs/usr/lib/initcpio/install/
cp -v hooks/cow_device ${work_dir}/${arch}/airootfs/usr/lib/initcpio/hooks/
mkdir -p ${work_dir}/${arch}/airootfs/etc/pacman.d/hooks
cp -v pacman-hooks/* ${work_dir}/${arch}/airootfs/etc/pacman.d/hooks/
# modprobe.d

View file

@ -14,7 +14,7 @@
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -4 -v -C - -f %u > %o
#XferCommand = /usr/bin/wget -4 --passive-ftp -c -t 0 -O %o %u