Commit 6eb26b91 authored by Dan Johansen's avatar Dan Johansen

[buildarmoem] add ofono services to PinePhone device

Because we moved the modem specific packages from the Plasma Mobile profile to the PinePhone device profile instead,
we need to add those services here in the tools instead.
So we add ofono.service eg25.service and ofonoctl.service to the PinePhobe specific setup here in the tools.
Signed-off-by: Dan Johansen's avatarDan Johansen <strit@manjaro.org>
parent c7dc645e
......@@ -507,7 +507,7 @@ create_rootfs_oem() {
sed -i s/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)"/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck bootsplash-manjaro)"/g $ROOTFS_IMG/rootfs_$ARCH/etc/mkinitcpio.conf
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH mkinitcpio -P 1> /dev/null 2>&1
elif [[ "$DEVICE" = "pinephone" ]] || [[ "$DEVICE" = "pinetab" ]]; then
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH systemctl enable pinebook-post-install.service 1> /dev/null 2>&1
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH systemctl enable pinebook-post-install.service ofono.service eg25.service ofonoctl.service 1> /dev/null 2>&1
sed -i s/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)"/"HOOKS=(base udev autodetect modconf block filesystems keyboard fsck bootsplash-manjaro)"/g $ROOTFS_IMG/rootfs_$ARCH/etc/mkinitcpio.conf
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH mkinitcpio -P 1> /dev/null 2>&1
echo "manjaro" > $TMPDIR/user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment