summaryrefslogtreecommitdiff
path: root/update-kernel.in
AgeCommit message (Collapse)Author
2022-04-19update-kernel: make sure we only decompress kernel modulesNatanael Copa
Safeguard in case something else than kernel modules would be compressed.
2022-04-19update-kernel: decompress modules for modloopAlex Xu (Hello71)
reduces modloop size by about 20%, see https://gitlab.alpinelinux.org/alpine/aports/-/issues/12857#note_197051
2022-03-16update-kernel: fix missing shiftMartin HEBANT
2022-03-16update-kernel: perform word splitting on $modloopfwNick Hanley
Fixes aports#10526, aports#13408.
2022-03-16Revert "update-kernel: fix warning extra firmware "" not found"Nick Hanley
This reverts commit ce8ad8bd402baed5c48becc6aad155d838dea21a.
2022-03-16Revert "update-kernel: fix Warning: extra firmware "" not found!"Nick Hanley
This reverts commit 4f960a81e65c7ee1e37b5a4029e2aa47e63e654f.
2022-03-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2021-11-17update-kernel: TMPDIR in help textKaarle Ritvanen
ref !18
2021-11-17update-kernel: don't force /tmpAlex Xu (Hello71)
closes !11.
2021-11-17update-kernel: rename internal TMPDIR -> tmpdirAlex Xu (Hello71)
2021-11-17Revert "update-kernel: Make path for tmpdir changeable via cli flag"Kaarle Ritvanen
This reverts commit 661f3b90f29f96a733aaff62ff0ca899ed34234d.
2021-11-14update-kernel.in: Handle compressed kernel modulesDermot Bradley
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.
2021-10-25update-kernel: Make path for tmpdir changeable via cli flagDennis Günnewig
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.
2021-09-19riscv64: EFI riggingsDrew DeVault
Minor changes necessary to support EFI on RISC-V.
2021-06-10update-kernel: fix Warning: extra firmware "" not found!Natanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/10526
2021-01-09update-kernel: remove nopadAlex Xu (Hello71)
-nopad squashfs files cannot be mounted by Linux kernel. Fixes: 30e6933e71fc ("update-kernel: use -nopad -Xbcj for modloop")
2021-01-08update-kernel: use -nopad -Xbcj for modloopAlex Xu (Hello71)
reduces x86 modloop size by about 38k. -all-time 0 reduces by 300 bytes more, but probably more confusing than it's worth
2021-01-07update-kernel: look for dtbs in /bootNatanael Copa
RPI kernels store the DTBS directly under /boot so they can handle kernel upgrades.
2021-01-06update-kernel: fix help text for --build-dirNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10462
2021-01-06update-kernel: Add option to override keys dirPhilippe Schommers
2020-10-19update-kernel: fix warning extra firmware "" not foundNatanael Copa
fixes #10526
2020-05-28update-kernel: fallback to old dtbdir if new one does not existTimo Teräs
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"
2019-12-18update-kernel: fix dtbs dirNatanael Copa
2019-06-14update-kernel: include associated firmware files to modloopTimo Teräs
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
2019-02-15update-kernel: include regulatory databaseTimo Teräs
2019-02-15update-kernel: add modloopfw optionCarlo Landmeter
modloopfw will add additional firmware to the modloop image to work around not beeing detected by modinfo.
2018-07-04Add support for signed modloop imagesCarlo Landmeter
2018-06-21update-kernel: fix install of firwareNatanael Copa
prevent to exit with error due to set -e, if last firmware does not have a *.txt file.
2018-06-19update-kernel: add additional firmware filesCarlo Landmeter
2018-06-07update-kernel: handle -vanilla suffix in System.map, config and vmlinuzNatanael Copa
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.
2018-04-11update-kernel: add initramfs compression supportCarlo Landmeter
2016-12-07update-kernel: use busybox's losetup alwaysTimo Teräs
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.
2016-12-05update-kernel: re-exec under fakeroot unless we are superuserNatanael Copa
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.
2016-12-05update-kernel: don't install deps if script runs in fakerootNatanael Copa
2016-12-02update-kernel: make mksquashfs exit on errorNatanael Copa
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.
2016-11-10update-kernel: add help for -k/--apk-pubkeyNatanael Copa
2016-11-09update-kernel: add support for -k/--apk-pubkeyNatanael Copa
This is a way to inject the users pubkey to initramfs
2016-11-09update-kernel: add --media optionTimo Teräs
To create boot media, otherwise it is assumed to be updating live system and /boot is mounted.
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2016-08-09update-kernel: don't use local in non-function scopeTimo Teräs
2016-08-05update-kernel: fix bad typoCarlo Landmeter
2016-07-14update-kernel: new options --hostkeys and --repositories-fileTimo Teräs
to simplify creation of bootable images from external repositries and with developer signing keys.
2016-07-14update-kernel: improve dtb handlingTimo Teräs
- install dtbs to right place from kernel source trees - install rpi dtbs to root of boot media (fixes #5884) - support aarch64
2016-07-09update-kernel: fix "find: unpaired '('"Timo Teräs
fixes #5883
2016-07-05update-kernel: fix rpi missing overlaysScrumpyJack
Fixes the Linux raspberry pi dtoverlays not being copied into the update-kernel destination directory.
2015-10-28update-kernel: fix fw copyingTimo Teräs
we run with -e so make sure the [] statement does not return false
2015-10-27update-kernel: include only needed firmwares in modloopTimo Teräs
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
2015-10-19update-kernel: install overlay dtbs tooTimo Teräs
2015-01-26update-kernel: support for arm architectureKaarle Ritvanen