summaryrefslogtreecommitdiff
path: root/update-kernel.in
AgeCommit message (Collapse)Author
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
2015-01-26update-kernel: option for overriding architectureKaarle Ritvanen
2015-01-26update-kernel: update also System.map and configKaarle Ritvanen
2014-12-30update-kernel: adapt to new naming convention in /bootKaarle Ritvanen
2014-11-21update-kernel: fix typoNatanael Copa
2014-11-11update-kernel: add --verbose optionNatanael Copa
2014-11-11update-kernel: run apk add only onceNatanael Copa
Make the progressbar show up only once instead of 4 times
2014-11-07update-kernel: fix fakeroot argument handling as per fix for #3500Kaarle Ritvanen
2014-11-03update-kernel: do not require superuser rightsKaarle Ritvanen
2014-11-03update-kernel: always use /tmp for temporary filesKaarle Ritvanen
2014-11-03update-kernel: display version number in help textKaarle Ritvanen
2014-11-02update-kernel: help on usageKaarle Ritvanen