File tree Expand file tree Collapse file tree 2 files changed +13
-19
lines changed
Expand file tree Collapse file tree 2 files changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ config:
1515 # Output path for the signed kernel.
1616 output : " %{install-root}/boot/vmlinuz.signed"
1717
18- public :
19- initial-scripts :
20- script :
21- - |
22- echo "Installing signed kernel to location expected by OSTree."
23- sysroot="$1"
24- version="$(ls -1 /${sysroot}/usr/lib/modules | head -n1)"
25- mkdir -p "/${sysroot}/usr/lib/modules/${version}"
26- cp /boot/vmlinuz.signed "/${sysroot}/usr/lib/modules/${version}/vmlinuz"
18+ install-commands :
19+ - |
20+ echo "Installing signed kernel to location expected by OSTree."
21+ sysroot="$1"
22+ version="$(ls -1 /${sysroot}/usr/lib/modules | head -n1)"
23+ mkdir -p "${install-root}/usr/lib/modules/${version}"
24+ cp "${install-root}/boot/vmlinuz.signed" "${install-root}/usr/lib/modules/${version}/vmlinuz"
Original file line number Diff line number Diff line change @@ -16,19 +16,15 @@ config:
1616 --cert VENDOR-snakeoil.crt \
1717 --output "%{install-root}/boot/vmlinuz.signed" \
1818 "/boot/vmlinuz"
19+ - |
20+ echo "Installing signed kernel to location expected by OSTree."
21+ sysroot="$1"
22+ version="$(ls -1 /${sysroot}/usr/lib/modules | head -n1)"
23+ mkdir -p "%{install-root}/usr/lib/modules/${version}"
24+ cp "%{install-root}/boot/vmlinuz.signed" "%{install-root}/usr/lib/modules/${version}/vmlinuz"
1925
2026sources :
2127- kind : local
2228 path : files/boot-keys/VENDOR-snakeoil.key
2329- kind : local
2430 path : files/boot-keys/VENDOR-snakeoil.crt
25-
26- public :
27- initial-scripts :
28- script :
29- - |
30- echo "Installing signed kernel to location expected by OSTree."
31- sysroot="$1"
32- version="$(ls -1 /${sysroot}/usr/lib/modules | head -n1)"
33- mkdir -p "/${sysroot}/usr/lib/modules/${version}"
34- cp /boot/vmlinuz.signed "/${sysroot}/usr/lib/modules/${version}/vmlinuz"
You can’t perform that action at this time.
0 commit comments