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:
parent
73e05bf16d
commit
7c79667fe0
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue