summaryrefslogtreecommitdiffstats
path: root/core/rootfs
diff options
context:
space:
mode:
authorJonathan Bauer2021-07-09 16:11:41 +0200
committerJonathan Bauer2021-07-09 16:11:41 +0200
commit2475dfaf915d2d432e4bd5faf6da41ec59203e17 (patch)
tree9f4b000fcf1bf6c47c6fef0e874ed7dfed5b9954 /core/rootfs
parentstage4: add network-online-slx-targets (diff)
downloadmltk-2475dfaf915d2d432e4bd5faf6da41ec59203e17.tar.gz
mltk-2475dfaf915d2d432e4bd5faf6da41ec59203e17.tar.xz
mltk-2475dfaf915d2d432e4bd5faf6da41ec59203e17.zip
bwlp: add demo-user module and remove from rootfs-stage32
Diffstat (limited to 'core/rootfs')
-rw-r--r--core/rootfs/rootfs-stage32/module.build3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/rootfs/rootfs-stage32/module.build b/core/rootfs/rootfs-stage32/module.build
index f20c5196..3c32878b 100644
--- a/core/rootfs/rootfs-stage32/module.build
+++ b/core/rootfs/rootfs-stage32/module.build
@@ -107,11 +107,8 @@ post_copy() {
# setup root account
PASSWORD= USER=root add_user
- DEMO_ID="$(USER=demo PASSWORD= USERHOME=/home/demo USERSHELL=/bin/bash add_user)"
mkdir -p "${TARGET_BUILD_DIR}/root"
- mkdir -p "${TARGET_BUILD_DIR}/home/demo"
- chown "$DEMO_ID:$DEMO_ID" "${TARGET_BUILD_DIR}/home/demo"
sed -i -r 's/^blacklist.*pcspkr/#&/g' "$TARGET_BUILD_DIR/etc/modprobe.d/blacklist.conf"
echo "minilinux-$(hostname)" > "${TARGET_BUILD_DIR}/etc/hostname"