diff --git a/arch-install b/arch-install index 4c410ac..718ff8c 100755 --- a/arch-install +++ b/arch-install @@ -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 diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 077c620..8c6ba99 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -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 diff --git a/pacman.conf b/pacman.conf index ae3058b..c3a2a01 100755 --- a/pacman.conf +++ b/pacman.conf @@ -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