summaryrefslogtreecommitdiff
path: root/packages/maemo
diff options
context:
space:
mode:
Diffstat (limited to 'packages/maemo')
-rw-r--r--packages/maemo/osso-core-config_200515.1.bb18
1 files changed, 13 insertions, 5 deletions
diff --git a/packages/maemo/osso-core-config_200515.1.bb b/packages/maemo/osso-core-config_200515.1.bb
index 1010e91e8a..e82e5f092d 100644
--- a/packages/maemo/osso-core-config_200515.1.bb
+++ b/packages/maemo/osso-core-config_200515.1.bb
@@ -1,6 +1,6 @@
-LICENSE = "unknown"
-MAINTAINER= "Florian Boor <florian@kernelconcepts.de"
-PR = "r4"
+LICENSE = "unknown"
+MAINTAINER = "Florian Boor <florian@kernelconcepts.de"
+PR = "r5"
DEPENDS = "base-passwd osso-af-startup"
RDEPENDS = "base-passwd osso-af-startup"
@@ -35,7 +35,15 @@ fi
MAEMOUSER=user
MAEMOHOME=/home/user
+addgroup "$MAEMOUSER"
mkdir -p $MAEMOHOME/MyDocs || true
-chgrp "$MAEMOUSER" "$MAEMOHOME" 2>/dev/null || addgroup "$MAEMOUSER"
-adduser --system --home "$MAEMOHOME" --no-create-home --disabled-password --ingroup "$MAEMOUSER" "$MAEMOUSER" || chown -R "$MAEMOUSER"."$MAEMOUSER" "$MAEMOHOME" 2>/dev/null
+adduser --system --home "$MAEMOHOME" --no-create-home --disabled-password --ingroup "$MAEMOUSER" "$MAEMOUSER"
+chown -R "$MAEMOUSER"."$MAEMOUSER" "$MAEMOHOME" 2>/dev/null
+chgrp "$MAEMOUSER" "$MAEMOHOME" 2>/dev/null
+# set up some links to firmware and modules in initrd
+
+mkdir -p /lib/firmware
+ln -sf /mnt/initfs/lib/firmware/* /lib/firmware/
+rm -rf /lib/modules
+ln -s /mnt/initfs/lib/modules /lib/modules
}