Ubuntu Pastebin

Paste from ogra at Mon, 11 Sep 2017 14:00:05 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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$ 
Download as text