Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
646
Issues
646
List
Boards
Labels
Service Desk
Milestones
Merge Requests
169
Merge Requests
169
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
392aa6fc
Commit
392aa6fc
authored
Jul 04, 2018
by
Carlo Landmeter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts: add modloop signing support
parent
28cc6f77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
scripts/mkimg.base.sh
scripts/mkimg.base.sh
+4
-1
No files found.
scripts/mkimg.base.sh
View file @
392aa6fc
build_kernel
()
{
local
_flavor
=
"
$2
"
local
_flavor
=
"
$2
"
_modloopsign
=
shift
3
local
_pkgs
=
"
$@
"
[
"
$modloop_sign
"
=
"yes"
]
&&
_modloopsign
=
"--modloopsign"
update-kernel
\
$_hostkeys
\
${
_abuild_pubkey
:+--apk-pubkey
$_abuild_pubkey
}
\
$_modloopsign
\
--media
\
--flavor
"
$_flavor
"
\
--arch
"
$ARCH
"
\
...
...
@@ -291,6 +293,7 @@ profile_base() {
kernel_flavors
=
"vanilla"
initfs_cmdline
=
"modules=loop,squashfs,sd-mod,usb-storage quiet"
initfs_features
=
"ata base bootchart cdrom squashfs ext4 mmc raid scsi usb virtio"
modloop_sign
=
yes
grub_mod
=
"disk part_gpt part_msdos linux multiboot2 normal configfile search search_label efi_uga efi_gop fat iso9660 cat echo ls test true help gzio"
apks
=
"alpine-base alpine-mirrors busybox kbd-bkeymaps chrony e2fsprogs network-extras libressl openssh tzdata"
apkovl
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment