diff options
author | Andrew Cady <d@jerkface.net> | 2020-10-10 13:21:23 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-10-10 13:21:23 -0400 |
commit | 855814666e24bce39c92c90b2e05e4cf901b5fae (patch) | |
tree | f6459ee7ff9e6aad81ee6f6654948f2075ae31a6 /src/initrd.sh | |
parent | ca549a48857ab58e8f714665fd93d6fcdf2d0ebe (diff) |
mostly old uncommitted changes
committing everything without discretion
rebase -i from me
Diffstat (limited to 'src/initrd.sh')
-rwxr-xr-x | src/initrd.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/initrd.sh b/src/initrd.sh index 5bf19cf..e363c83 100755 --- a/src/initrd.sh +++ b/src/initrd.sh | |||
@@ -2,8 +2,14 @@ | |||
2 | 2 | ||
3 | . samizdat-paths.sh | 3 | . samizdat-paths.sh |
4 | 4 | ||
5 | if [ -d "$1" ] | ||
6 | then | ||
7 | samizdat_linux_dir=$1 | ||
8 | fi | ||
9 | |||
5 | initrd=${samizdat_linux_dir}/initrd.img | 10 | initrd=${samizdat_linux_dir}/initrd.img |
6 | vmlinuz=${samizdat_linux_dir}/vmlinuz | 11 | vmlinuz=${samizdat_linux_dir}/vmlinuz |
12 | |||
7 | conf_dir=$samizdat_initramfs_conf_dir | 13 | conf_dir=$samizdat_initramfs_conf_dir |
8 | apt_dependencies=$samizdat_initrd_files_dir/initrd-dependencies.txt | 14 | apt_dependencies=$samizdat_initrd_files_dir/initrd-dependencies.txt |
9 | 15 | ||