diff --git a/postmarketos-mkinitfs/APKBUILD b/postmarketos-mkinitfs/APKBUILD index 4ba733b28..6d5dbada4 100644 --- a/postmarketos-mkinitfs/APKBUILD +++ b/postmarketos-mkinitfs/APKBUILD @@ -1,5 +1,5 @@ pkgname=postmarketos-mkinitfs -pkgver=0.1.1 +pkgver=0.1.2 pkgrel=0 pkgdesc="Tool to generate initramfs images for postmarketOS" url="https://github.com/postmarketOS" @@ -27,7 +27,7 @@ package() { install -Dm644 "$srcdir/10-usb-unlock.sh" \ "$pkgdir/etc/postmarketos-mkinitfs/hooks/" } -sha512sums="db4a7642544d60a2e9e88fbacf652f093f0570f859bd9658d2a0a39c9d08d27eb9d21e72e9c0ca5f7676646732068c087396334c4fa5e6099aa7d2d64055f764 init.sh.in +sha512sums="22418d8869448b456a775f03b18d7b4e13f3cac1129233ced42caf67c3aea4abcc6488fcba2acb5e20dd72f2a6da6419938ac44751a5ba175f02eab586573c43 init.sh.in 66f442648fb38529ec594e62ee2307269ca875c7f9340726adcb211e9be42a6ba60fd296af0503a65c7f230c25cf3494783e4282f2468c63116b9500f5d184c6 init_functions.sh dd3c86c6ba4f91e20b72f4180049960a58dc01002f69ad9e5d98c752da3b34711c2bbe6e0c7d003eb6a4a8d9e185796aa2fe84c0231a3057b204912c439140f7 mkinitfs.sh 81d001ab185a8db1b9335d7c8c278d49ab0446bc15bb00dd22e4de16633433a183888f3f1096399bfe361ed719dcc4203afdf4b4f10e74a9c1e50bbbfc46951c 10-usb-unlock.sh diff --git a/postmarketos-mkinitfs/init.sh.in b/postmarketos-mkinitfs/init.sh.in index 86241ebba..6380f0ee8 100644 --- a/postmarketos-mkinitfs/init.sh.in +++ b/postmarketos-mkinitfs/init.sh.in @@ -12,18 +12,18 @@ setup_log setup_mdev mount_subpartitions -# Always run dhcp daemon/usb networking for now (later this should only -# be enabled, when having the usb-shell hook installed for debugging, -# or get activated after the initramfs is done with an OpenRC service). -setup_usb_network -start_udhcpd - # Hooks for hook in /etc/postmarketos-mkinitfs/hooks/*.sh; do [ -e "$hook" ] || continue sh "$hook" done +# Always run dhcp daemon/usb networking for now (later this should only +# be enabled, when having the usb-shell hook installed for debugging, +# or get activated after the initramfs is done with an OpenRC service). +setup_usb_network +start_udhcpd + # Unlock root partition unlock_root_partition