File tree Expand file tree Collapse file tree 4 files changed +30
-23
lines changed
Expand file tree Collapse file tree 4 files changed +30
-23
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,4 @@ depends:
6767- eos/gnome-shell-extensions.bst
6868
6969# Signed kernel
70- (?) :
71- - signed_boot == "endless" :
72- depends :
73- (>) :
74- - signing/signed-kernel-endless.bst
75- - signed_boot == "snakeoil" :
76- depends :
77- (>) :
78- - signing/signed-kernel-snakeoil.bst
70+ - signing/signed-kernel.bst
Original file line number Diff line number Diff line change @@ -14,11 +14,3 @@ config:
1414
1515 # Output path for the signed kernel.
1616 output : " %{install-root}/boot/vmlinuz.signed"
17-
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,12 +16,6 @@ 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"
2519
2620sources :
2721- kind : local
Original file line number Diff line number Diff line change 1+ kind : manual
2+ description : |
3+ Install signed kernel to location expected by OSTree.
4+
5+ build-depends :
6+ - freedesktop-sdk.bst:bootstrap-import.bst
7+ - components/linux.bst
8+
9+ # Signed kernel
10+ (?) :
11+ - signed_boot == "endless" :
12+ build-depends :
13+ (>) :
14+ - signing/signed-kernel-endless.bst
15+ - signed_boot == "snakeoil" :
16+ build-depends :
17+ (>) :
18+ - signing/signed-kernel-snakeoil.bst
19+
20+ config :
21+ install-commands :
22+ - |
23+ echo "Installing signed kernel to location expected by OSTree."
24+ sysroot="$1"
25+ version="$(ls -1 /${sysroot}/usr/lib/modules | head -n1)"
26+ echo "version is ${version}"
27+ mkdir -p %{install-root}/usr/lib/modules/${version}
28+ cp /${sysroot}/boot/vmlinuz.signed %{install-root}/usr/lib/modules/${version}/vmlinuz
29+ cp /${sysroot}/boot/config %{install-root}/usr/lib/modules/${version}/config
You can’t perform that action at this time.
0 commit comments