main/postmarketos-initramfs: move init.sh to initramfs-specific dir (MR 4204)

These files aren't owned by mkinitfs, or used to configure mkinitfs, so
I think it makes sense that they belong in a dir specific to this
package instead of cluttering up mkinitfs's config dirs.
This commit is contained in:
Clayton Craft 2023-08-23 15:31:15 -07:00 committed by Caleb Connolly
parent 73e05bf16d
commit 7c79667fe0
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 4 additions and 4 deletions

View file

@ -6,5 +6,5 @@
/usr/share/misc/source_deviceinfo /usr/share/misc/source_deviceinfo
/usr/bin/unudhcpd /usr/bin/unudhcpd
/usr/sbin/kpartx /usr/sbin/kpartx
/usr/share/mkinitfs/init.sh:/init /usr/share/initramfs/init.sh:/init
/usr/share/mkinitfs/init_functions.sh:/init_functions.sh /usr/share/initramfs/init_functions.sh:/init_functions.sh

View file

@ -42,10 +42,10 @@ package() {
"$pkgdir/etc/unudhcpd.conf" "$pkgdir/etc/unudhcpd.conf"
install -Dm644 "$srcdir/init_functions.sh" \ install -Dm644 "$srcdir/init_functions.sh" \
"$pkgdir/usr/share/mkinitfs/init_functions.sh" "$pkgdir/usr/share/initramfs/init_functions.sh"
install -Dm755 "$srcdir/init.sh" \ install -Dm755 "$srcdir/init.sh" \
"$pkgdir/usr/share/mkinitfs/init.sh" "$pkgdir/usr/share/initramfs/init.sh"
install -Dm644 "$srcdir"/00-initramfs-base.dirs \ install -Dm644 "$srcdir"/00-initramfs-base.dirs \
-t "$pkgdir"/usr/share/mkinitfs/dirs/ -t "$pkgdir"/usr/share/mkinitfs/dirs/