Age | Commit message (Collapse) | Author |
|
When modinfo is called to determine firmware ensure the installed
kernel version is used, not the running kernel version.
Busybox's modinfo recently had "-k" supported added to it.
|
|
send it to stdout with -h
|
|
Safeguard in case something else than kernel modules would be
compressed.
|
|
reduces modloop size by about 20%, see
https://gitlab.alpinelinux.org/alpine/aports/-/issues/12857#note_197051
|
|
|
|
Fixes aports#10526, aports#13408.
|
|
This reverts commit ce8ad8bd402baed5c48becc6aad155d838dea21a.
|
|
This reverts commit 4f960a81e65c7ee1e37b5a4029e2aa47e63e654f.
|
|
Commit ec0c7a7 changed the sed expression for PREFIX injection but
forgot to update the scripts.
|
|
ref !18
|
|
closes !11.
|
|
|
|
This reverts commit 661f3b90f29f96a733aaff62ff0ca899ed34234d.
|
|
When determining which firmware needs to be includes in the modloop
file update-kernel searches for kernel modules using the filename
*.ko and so does not cater for compressed modules (and therefore does
not include their required firmware in the modloop).
Change the search pattern to deal with both uncompressed and
compressed modules.
|
|
On a Raspberry Pi 3B+ the memory is limited. Updating a kernel might be not possible due to "out of space" situations. This MR adds a flag to mitigate the problem for users facing this issue.
|
|
Minor changes necessary to support EFI on RISC-V.
|
|
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/10526
|
|
-nopad squashfs files cannot be mounted by Linux kernel.
Fixes: 30e6933e71fc ("update-kernel: use -nopad -Xbcj for modloop")
|
|
reduces x86 modloop size by about 38k. -all-time 0 reduces by 300 bytes
more, but probably more confusing than it's worth
|
|
RPI kernels store the DTBS directly under /boot so they can handle
kernel upgrades.
|
|
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10462
|
|
|
|
fixes #10526
|
|
This allows running update-kernel on new alpine and to create
images from stable branch by overriding repository files.
Fixes: 3fd2ce43 "update-kernel: fix dtbs dir"
|
|
|
|
Some drivers reference only the .bin but require additional
files such as .$board.txt or .clm_blob. Include all files
in modloop that might match. ref #9549
|
|
|
|
modloopfw will add additional firmware to the modloop image
to work around not beeing detected by modinfo.
|
|
|
|
prevent to exit with error due to set -e, if last firmware does not have
a *.txt file.
|
|
|
|
Previously the vanilla kernel did not add any suffix to System.map,
config and vmlinuz for the vanilla kernel, but it does now. Fix
update-kernel to handle both cases.
Note also that /lib/modules/$ver still does not have any -vanilla
suffix.
|
|
|
|
fixes #6517
The output format of util-linux losetup is different, and there's
no easy way to get uniform output from these two implementations.
|
|
The fakeroot fake-env feature requires that the filesystem if unmodified between the
reloads of the fake-env. We dont comply with this so we re-exec the
entire script in fakeroot instead.
|
|
|
|
mksquashfs will ignore errors and continue by default by design. This is
definitively not the behavior we want so we tell it to explicitly exit
on error.
|
|
|
|
This is a way to inject the users pubkey to initramfs
|
|
To create boot media, otherwise it is assumed to be updating
live system and /boot is mounted.
|
|
|
|
|
|
|
|
|
|
to simplify creation of bootable images from external repositries
and with developer signing keys.
|
|
- install dtbs to right place from kernel source trees
- install rpi dtbs to root of boot media (fixes #5884)
- support aarch64
|
|
fixes #5883
|
|
Fixes the Linux raspberry pi dtoverlays not being copied into the
update-kernel destination directory.
|
|
we run with -e so make sure the [] statement does not return false
|
|
new modloop (44.9M)
117.9M 4.1.10-0-grsec
39.3M firmware
157.1M total
old modloop (80.8M)
117.9M 4.1.10-0-grsec
112.1M firmware
230.0M total
|