pmaports/main
Minecrell ed3eeeeebb
main/postmarketos-mkinitfs: append extra initfs hash to file contents (!983)
Partial revert of 24fa68c9 ("avoid storing initramfs-extra twice").

Some people have (rightfully) complained that including the hash
in the filename of the initramfs-extra prevents the device from booting
whenever the boot partition gets out of sync with the boot image.

In general we should assume that those two are in sync, but there is
no need to unnecessarily break this if previously booting the outdated
extra initramfs worked just fine.

At the end, the hash is just an implementation detail for the caching
mechanism - we need it when (re-)generating the initramfs, but it does
not have to be within the filename. Instead, we can simply append the
hash to the file contents. GZIP will simply ignore the trailing garbage.

The boot partition will then look like:
    $ cat /boot/initramfs-<flavor>-extra
    <GZIP data>d3c7b449c6fc811d97351bbc46852b66 (the hash)

This makes the filename of initramfs-extra nice and stable again.
It also fixes a regression where the initramfs-extra would no longer
get symlinked by "pmbootstrap export" (I was going to fix that in
pmbootstrap but now this solution is more appealing...)

While we're at it: Make the script more resilient again by writing
to a temporary file first, then move it (atomically) to the real path.
2020-03-01 00:31:27 +01:00
..
0xffff main/0xffff: upgrade to 0.8 (!609) 2019-09-09 14:20:39 +02:00
abootimg main/abootimg: modernize (!840) 2019-12-30 18:29:22 +01:00
abuild-sign-noinclude main/abuild-sign-noinclude: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
adsp-audio main/adsp-audio: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
android-mkdtimg main/android-mkdtimg: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
apitrace main/apitrace: upgrade to 9.0 (!985) 2020-02-25 23:36:36 +03:00
blobtools main/blobtools: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
bootchart2 main/bootchart2: new aport (!852) 2020-01-13 15:43:00 +03:00
buho */*: !armhf where depending on qt5-qtdeclarative 2020-01-06 03:41:56 +01:00
charging-sdl main/charging-sdl: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
columbiad main/columbiad: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
dbus-test-runner main/dbus-test-runner: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
devicepkg-dev main/devicepkg-dev: make HOSTCC optional (!1007) 2020-02-28 18:32:22 +01:00
dtbtool main/dtbtool: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
dtbtool-exynos main/dtbtool-exynos: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
extract-dtb main/extract-dtb: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
fbdebug main/fbdebug: build from new repo (!694) 2019-11-05 22:15:10 +01:00
gcc4 {main,cross}/gcc{4,6}*: bump pkgrel 2019-09-11 21:32:52 +02:00
gcc6 {main,cross}/gcc{4,6}*: bump pkgrel 2019-09-11 21:32:52 +02:00
gesture main/gesture: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
heimdall main/heimdall: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
hello-world main/hello-world: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
hello-world-rust main/hello-world-rust: new aport (!845) 2020-01-14 02:45:18 +01:00
hello-world-wrapper main/hello-world-wrapper: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
hwtest main/hwtest: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
index */*: !armhf where depending on qt5-qtdeclarative 2020-01-06 03:41:56 +01:00
kmscube main/kmscube: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
ldpath New aport ldpath 2018-11-27 07:47:11 +01:00
libofono-qt main/libofono-qt: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
libsignon-glib main/libsignon-glib: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
linux-postmarketos-allwinner main/linux-postmarketos-allwinner: correct voltage for lcd (!994) 2020-02-26 14:22:14 +03:00
linux-postmarketos-mainline main/linux-postmarketos-*: upgrade to the latest (!660) 2019-10-08 00:34:09 +02:00
linux-postmarketos-novathor main/linux-postmarketos-novathor: new aport (!833) 2019-12-30 19:19:40 +01:00
linux-postmarketos-qcom-msm8916 main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc3 (!992) 2020-02-27 16:28:24 +03:00
linux-postmarketos-qcom-msm8974 main/linux-postmarketos-qcom-msm8974: upgrade to 5.4.0-rc6 (!902) 2020-01-26 23:13:07 +01:00
linux-postmarketos-stable main/linux-postmarketos-stable: enable CONFIG_SND_HDA (!794) 2019-12-24 00:03:32 +01:00
mauikit main/mauikit: add missing kirigami dep (!1009) 2020-02-29 04:02:20 +03:00
mdss-fb-init-hack main/mdss-fb-init-hack: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
mkbootimg-osm0sis main/mkbootimg-osm0sis: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
msm-fb-refresher main/msm-fb-refresher: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
mtk-mkimage main/mtk-mkimage: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
nota */*: !armhf where depending on qt5-qtdeclarative 2020-01-06 03:41:56 +01:00
ofonoctl main/ofonoctl: new aport (!816) 2020-02-10 16:48:47 +03:00
osk-sdl main/osk-sdl: upgrade to 0.54 (!937) 2020-02-10 00:47:53 +03:00
pix */*: !armhf where depending on qt5-qtdeclarative 2020-01-06 03:41:56 +01:00
postmarketos-android-recovery-installer main/postmarketos-android-recovery-installer: fix contributor email (!872) 2020-01-17 18:54:33 +01:00
postmarketos-artwork postmarketos-artwork: add wallpapers/icons/sounds subpackages (!725) 2019-11-10 13:58:48 +01:00
postmarketos-base main/postmarketos-base: remove initstepslew from chrony configuration (!838) 2019-12-30 18:34:14 +01:00
postmarketos-boot-hwtest main/postmarketos-boot-hwtest: new aport (!617) 2019-09-14 04:57:14 +02:00
postmarketos-demos main/postmarketos-demos: build from new repo (!694) 2019-11-05 22:15:10 +01:00
postmarketos-mkinitfs main/postmarketos-mkinitfs: append extra initfs hash to file contents (!983) 2020-03-01 00:31:27 +01:00
postmarketos-mkinitfs-hook-debug-shell main/postmarketos-mkinitfs-hook-debug-shell: mount pstore (!921) 2020-02-04 11:19:41 +03:00
postmarketos-mkinitfs-hook-kernel-panic Add initfs hook which causes a kernel panic (useful for debugging) 2018-11-27 07:47:11 +01:00
postmarketos-mkinitfs-hook-maximum-attention Remove github.com references 2018-06-30 09:00:48 +02:00
postmarketos-mkinitfs-hook-verbose-initfs main/postmarketos-mkinitfs: support verbose boot (!234) 2019-02-27 21:02:02 +01:00
postmarketos-splash main/postmarketos-splash: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
postmarketos-ui-gnome main/postmarketos-ui-gnome: disable for armhf (!1015) 2020-02-29 22:01:18 +01:00
postmarketos-ui-hildon maemo/*: disable armhf, armv7 2019-11-21 21:27:15 +01:00
postmarketos-ui-i3wm main/postmarketos-ui-i3wm: fix lightdm (!696) 2019-10-24 02:26:58 +02:00
postmarketos-ui-kodi main/postmarketos-ui-kodi: fix lightdm (!690) 2019-10-23 21:42:38 +02:00
postmarketos-ui-mate main/postmarketos-ui-sway: fix lightdm (!690) 2019-10-23 21:44:01 +02:00
postmarketos-ui-phosh main/postmarketos-ui-phosh: enable modemmanager by default (!971) 2020-02-29 22:35:01 +01:00
postmarketos-ui-plasma-mobile main/postmarketos-ui-plasma-mobile: enable ofono by default (!971) 2020-02-29 22:37:53 +01:00
postmarketos-ui-plasma-mobile-extras main/postmarketos-ui-plasma-mobile-extras: add ktrip to depends (!813) 2019-12-24 16:43:39 +03:00
postmarketos-ui-shelli main/postmarketos-ui-shelli: use new main/shelli (!690) 2019-10-23 21:43:40 +02:00
postmarketos-ui-sway main/postmarketos-ui-sway: remove dependency on xorg-server (!913) 2020-01-30 19:14:53 +01:00
postmarketos-ui-weston main/postmarketos-ui-weston: add htop to depends (!806) 2019-12-11 17:29:18 +01:00
postmarketos-ui-xfce4 main/postmarketos-ui-xfce4: upgrade to 3.0 (!727) 2019-12-06 01:33:55 +01:00
postmarketos-update-kernel Remove github.com references 2018-06-30 09:00:48 +02:00
powersupply main/powersupply: new aport (!946) 2020-02-14 22:28:14 +01:00
qmltermwidget main/qmltermwidget: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
qt5-qtfeedback main/qt5-qt{pim,feedback}: build for all architectures (!961) 2020-02-18 19:44:55 +05:30
qt5-qtpim main/qt5-qt{pim,feedback}: build for all architectures (!961) 2020-02-18 19:44:55 +05:30
qt5-qtsystems main/qt5-qtsystems: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
qt5ct main/qt5ct: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
qtwebbrowser */*: !armhf where depending on qt5-qtdeclarative 2020-01-06 03:41:56 +01:00
reboot-mode main/reboot-mode: build from new repo (!694) 2019-11-05 22:15:00 +01:00
shelli main/shelli: new aport (!690) 2019-10-23 21:43:37 +02:00
telepathy-mission-control main/telepathy-mission-control: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
telepathy-ofono main/telepathy-ofono: switch to branch ofono-on-ring (!759) 2019-11-20 23:41:16 +01:00
telephony-service main/telephony-service: autostart on boot (!972) 2020-02-20 15:59:25 +01:00
triggerhappy main/triggerhappy: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
umockdev main/umockdev: upgrade to 0.14.1 (!987) 2020-02-26 01:56:05 +03:00
unixbench main/unixbench: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
urfkill main/urfkill: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
uuu main/uuu: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
vvave */*: !armhf where depending on qt5-qtdeclarative 2020-01-06 03:41:56 +01:00
watchdog-kick main/watchdog-kick: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
wcnss-wlan main/wcnss-wlan: fix linting issues (!872) 2020-01-17 18:54:33 +01:00