diff options
Diffstat (limited to 'initramfs-tools/hooks/samizdat')
-rwxr-xr-x | initramfs-tools/hooks/samizdat | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/initramfs-tools/hooks/samizdat b/initramfs-tools/hooks/samizdat index eb4497f..db2fd1c 100755 --- a/initramfs-tools/hooks/samizdat +++ b/initramfs-tools/hooks/samizdat | |||
@@ -5,8 +5,11 @@ | |||
5 | CopyExec() { copy_exec "$@" || exit 1; } | 5 | CopyExec() { copy_exec "$@" || exit 1; } |
6 | 6 | ||
7 | . /usr/share/initramfs-tools/hook-functions | 7 | . /usr/share/initramfs-tools/hook-functions |
8 | PATH=/usr/local/bin:$PATH | ||
8 | . samizdat-paths.sh | 9 | . samizdat-paths.sh |
9 | 10 | ||
11 | set -x | ||
12 | |||
10 | repo_execs=$(echo "${samizdat_initrd_files_dir}"/*) | 13 | repo_execs=$(echo "${samizdat_initrd_files_dir}"/*) |
11 | 14 | ||
12 | path_execs='mountpoint openvt rsync gpg2 gpg-agent pinentry-curses truncate cryptsetup mkfs.btrfs btrfs fsck.hfsplus' | 15 | path_execs='mountpoint openvt rsync gpg2 gpg-agent pinentry-curses truncate cryptsetup mkfs.btrfs btrfs fsck.hfsplus' |
@@ -14,10 +17,10 @@ path_execs='mountpoint openvt rsync gpg2 gpg-agent pinentry-curses truncate cryp | |||
14 | graft_paths=" | 17 | graft_paths=" |
15 | /bin/OpenVT=/bin/openvt | 18 | /bin/OpenVT=/bin/openvt |
16 | /bin/LoSetup=/sbin/losetup | 19 | /bin/LoSetup=/sbin/losetup |
17 | /patchroot/patchroot.sh=patchroot.sh | 20 | /patchroot/patchroot.sh=${samizdat_initrd_files_dir}/patchroot.sh |
18 | /patchroot/sources.list=/etc/apt/sources.list | 21 | /patchroot/sources.list=/etc/apt/sources.list |
19 | /patchroot/initrd-dependencies.txt=initrd-dependencies.txt | 22 | /patchroot/initrd-dependencies.txt=${samizdat_initrd_files_dir}/initrd-dependencies.txt |
20 | /lib/samizdat/vol_id.txt=vol_id.txt | 23 | /lib/samizdat/vol_id.txt=${samizdat_initrd_files_dir}/vol_id.txt |
21 | " | 24 | " |
22 | 25 | ||
23 | absolute_path_copies='/lib/terminfo/l/linux' | 26 | absolute_path_copies='/lib/terminfo/l/linux' |