ogra@anubis:~/datengrab/pi3/pi3-gadget$ cat psplash/initrd/scripts/init-bottom/ORDER
/scripts/init-bottom/udev "$@"
[ -e /conf/param.conf ] && . /conf/param.conf
/scripts/init-bottom/firstboot "$@"
[ -e /conf/param.conf ] && . /conf/param.conf
ogra@anubis:~/datengrab/pi3/pi3-gadget$ cat psplash/initrd/scripts/init-bottom/firstboot
#!/bin/sh -e
PREREQS=""
prereqs() { echo "$PREREQS"; }
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
# make some checks here like looking for
# /root/system-data/var/lib/snapd/state.json to be complete or
# all keys being generated etc
# if all files are in place simply skip the command below
/bin/psplash-write "MSG Initializing system, please be patient..."
ogra@anubis:~/datengrab/pi3/pi3-gadget$ git diff
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 6ff2680..b3b61d0 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -108,6 +108,7 @@ parts:
cp -a ../../../psplash/initrd .
mkdir -p initrd/bin
cp psplash initrd/bin
+ cp psplash-write initrd/bin
mkdir -p $SNAPCRAFT_PART_INSTALL/boot-assets
cd initrd && find . | cpio --quiet -o -H newc| lzma >>$SNAPCRAFT_PART_INSTALL/boot-assets/psplash.img
build-packages:
ogra@anubis:~/datengrab/pi3/pi3-gadget$