summaryrefslogtreecommitdiff
path: root/initramfs-tools
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-29 15:11:12 -0400
committerAndrew Cady <d@jerkface.net>2016-04-29 15:11:12 -0400
commit1ee78e5651c49be3c9466d8570f32a22f5dee8d4 (patch)
treea9ae78d5283a1b2ee13e4a36f9ea8db2fe976310 /initramfs-tools
parent153d299a41b9be4e15dab1ca29bb93a74bd2445d (diff)
more path fixes
Diffstat (limited to 'initramfs-tools')
-rwxr-xr-xinitramfs-tools/hooks/samizdat9
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 @@
5CopyExec() { copy_exec "$@" || exit 1; } 5CopyExec() { copy_exec "$@" || exit 1; }
6 6
7. /usr/share/initramfs-tools/hook-functions 7. /usr/share/initramfs-tools/hook-functions
8PATH=/usr/local/bin:$PATH
8. samizdat-paths.sh 9. samizdat-paths.sh
9 10
11set -x
12
10repo_execs=$(echo "${samizdat_initrd_files_dir}"/*) 13repo_execs=$(echo "${samizdat_initrd_files_dir}"/*)
11 14
12path_execs='mountpoint openvt rsync gpg2 gpg-agent pinentry-curses truncate cryptsetup mkfs.btrfs btrfs fsck.hfsplus' 15path_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
14graft_paths=" 17graft_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
23absolute_path_copies='/lib/terminfo/l/linux' 26absolute_path_copies='/lib/terminfo/l/linux'