diff options
author | Gordon GECOS <u@adam> | 2020-10-25 18:13:54 -0400 |
---|---|---|
committer | Gordon GECOS <u@adam> | 2020-10-25 18:13:54 -0400 |
commit | 4840616b1fdf95e86ce21109063370f046289d9f (patch) | |
tree | 81a200e203fe9b6a0012f2fed69e7dfb953f53e1 /src/initrd.sh | |
parent | a8b5f0c06f5f8aaff8afa7ff188a3f4e95d7e725 (diff) |
commit everything for steve
Diffstat (limited to 'src/initrd.sh')
-rwxr-xr-x | src/initrd.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/initrd.sh b/src/initrd.sh index e363c83..2ec278d 100755 --- a/src/initrd.sh +++ b/src/initrd.sh | |||
@@ -11,7 +11,6 @@ initrd=${samizdat_linux_dir}/initrd.img | |||
11 | vmlinuz=${samizdat_linux_dir}/vmlinuz | 11 | vmlinuz=${samizdat_linux_dir}/vmlinuz |
12 | 12 | ||
13 | conf_dir=$samizdat_initramfs_conf_dir | 13 | conf_dir=$samizdat_initramfs_conf_dir |
14 | apt_dependencies=$samizdat_initrd_files_dir/initrd-dependencies.txt | ||
15 | 14 | ||
16 | get_kernel_version() | 15 | get_kernel_version() |
17 | { | 16 | { |
@@ -44,9 +43,6 @@ force_rebuild() | |||
44 | 43 | ||
45 | rebuild() | 44 | rebuild() |
46 | { | 45 | { |
47 | [ ! -f "$apt_dependencies" ] || | ||
48 | sudo apt-get install -q=10 --no-upgrade -y $(cat "$apt_dependencies") | ||
49 | |||
50 | set -ex | 46 | set -ex |
51 | cp -f /boot/vmlinuz-"${kernel_version}" "$vmlinuz" | 47 | cp -f /boot/vmlinuz-"${kernel_version}" "$vmlinuz" |
52 | /usr/sbin/mkinitramfs -d "$conf_dir" -o "$initrd" "${kernel_version}" || force_rebuild | 48 | /usr/sbin/mkinitramfs -d "$conf_dir" -o "$initrd" "${kernel_version}" || force_rebuild |