summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/initrd.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/initrd.sh b/src/initrd.sh
index ffa55d1..b6939b1 100755
--- a/src/initrd.sh
+++ b/src/initrd.sh
@@ -6,7 +6,12 @@ initrd=${samizdat_linux_dir}/initrd.img
6vmlinuz=${samizdat_linux_dir}/vmlinuz 6vmlinuz=${samizdat_linux_dir}/vmlinuz
7 7
8# version=4.9.0-6-amd64 8# version=4.9.0-6-amd64
9version=$(uname -r) 9# version=$(apt-cache policy linux-image-amd64 | sed -ne 's/ Candidate: //p' || uname -r)
10kernel_package=linux-image-rt-amd64
11kernel_package_version=$(apt-cache policy $kernel_package | sed -ne 's/ *Installed: //p')
12real_kernel_package=$(apt-cache show $kernel_package=$kernel_package_version | sed -n 's/^Depends: //p')
13version=${real_kernel_package#linux-image-}
14
10conf_dir=$samizdat_initramfs_conf_dir 15conf_dir=$samizdat_initramfs_conf_dir
11 16
12apt_dependencies=$samizdat_initrd_files_dir/initrd-dependencies.txt 17apt_dependencies=$samizdat_initrd_files_dir/initrd-dependencies.txt