testing/device-many: pkgrel bump to fix new initfs-hook.sh location expected by postmarketos-mkinitfs
This MR is meant to fix regression caused by https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/merge_requests/30 (specifically https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/commit/6fdc8937b5ad92e20198d53f718284ebc329367a#bfcd97fb5c4add7f569c1eb5cc3910f584e821fd_193_193), initially discovered and described in !4176 (comment 1434937224).
The commit linked above changes expected hooks location from /etc/postmarketos-mkinitfs/hooks
to /etc/mkinitfs/hooks
, and another commit pushed later adds /usr/share/mkinitfs/hooks
to expected directories. This more or less breaks new pmOS installs done by running pmbootstrap install
on edge branch, which pull current (2023-06-17T16:57+02:00) device-*
packages from https://mirror.postmarketos.org/postmarketos/master. Many of those packages which included initfs-hook.sh
no longer work in that case, because they had those hooks in old location, which isn't used by latest postmarketos-mkinitfs.
I ran find -name initfs-hook.sh
in pmaports/device
dir, excluded one result from unmaintained
(all others were from testing
), then downloaded their packages from mirror.postmarketos.org, extracted into subdirectories of a local workdir
, then ran the following:
Here's a list of unaffected devices (e.g. starlte/star2lte ports created in last few weeks):
[przemek@Komputr workdir]$ find -name 00-*sh | grep -v /etc/postmarketos-mkinitfs/hooks | sort
./aarch64/device-oneplus-oneplus2-0.1-r11/usr/share/mkinitfs/hooks/00-device-oneplus-oneplus2.sh
./aarch64/device-samsung-j8y18lte-1-r4/usr/share/mkinitfs/hooks/00-device-samsung-j8y18lte.sh
./aarch64/device-samsung-star2lte-0.1-r0/usr/share/mkinitfs/hooks/00-device-samsung-star2lte.sh
./aarch64/device-samsung-starlte-0.1-r0/usr/share/mkinitfs/hooks/00-device-samsung-starlte.sh
./armhf/device-nokia-n9-1-r15/usr/share/mkinitfs/hooks/00-device-nokia-n9.sh
./armhf/device-sony-taoshan-0.1-r10/usr/share/mkinitfs/hooks/00-device-sony-taoshan.sh
./armv7/device-amazon-soho-0.2-r0/usr/share/mkinitfs/hooks/00-device-amazon-soho.sh
./armv7/device-samsung-goyawifi-0.3-r0/usr/share/mkinitfs/hooks/00-device-samsung-goyawifi.sh
Affected device packages:
[przemek@Komputr workdir]$ find -name 00-*sh | grep /etc/postmarketos-mkinitfs/hooks | cut -d / -f 3 | sort
device-acer-swing-0.1-r3
device-alcatel-pop7lte-0.1-r5
device-google-glass-0.2-r8
device-htc-a5ul-0.1-r11
device-htc-ace-1-r23
device-htc-bravo-1-r22
device-htc-k2ul-0.1-r11
device-htc-m8-0.1-r13
device-htc-primou-0.1-r8
device-htc-protou-0.1-r8
device-htc-vision-0.1-r10
device-htc-vivo-1-r12
device-lg-d285-1-r18
device-microsoft-surface-rt-6-r3
device-motorola-athene-0.1-r12
device-motorola-cedric-0.1-r10
device-motorola-condor-0.1-r3
device-motorola-lux-0.3-r1
device-motorola-montana-0.3-r5
device-motorola-perry-0.1-r5
device-motorola-shamu-0.4-r0
device-oppo-find-7a-0.1-r10
device-ouya-ouya-1-r23
device-samsung-a20-0.1-r5
device-samsung-a30-0.1-r2
device-samsung-a5y17lte-0.1-r9
device-samsung-a7y18lte-0.1-r3
device-samsung-beyond1lte-0.1-r3
device-samsung-crownlte-0.4-r0
device-samsung-dream-0.1-r5
device-samsung-hero2lte-0.1-r9
device-samsung-herolte-0.1-r10
device-samsung-royss-0.1-r9
device-samsung-s3ve3g-0.1-r4
device-samsung-xcover3lte-0.2-r0
device-samsung-zanin-0.1-r9
device-sharp-shl22-0.1-r6
device-vernee-k506-0.1-r4
device-xiaomi-aries-0.1-r8
device-xiaomi-ido-0.1-r14
device-zte-kis3-0.2-r2
device-zte-p731a20-0.1-r10