This commit is contained in:
Yunqi Ouyang
2019-05-24 11:18:12 +08:00
parent e910bf55ac
commit f570b2ad13
17 changed files with 116 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash -e
install -m 644 files/1.png "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
install -m 644 files/2.png "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
install -m 644 files/3.png "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
install -m 644 files/4.png "${ROOTFS_DIR}/usr/share/rpd-wallpaper/"
mkdir -p "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
install -m 644 files/Qtum.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/"
on_chroot << EOF
#sed -ri 's,wallpaper=.*?,wallpaper=/usr/share/rpd-wallpaper/1.png,' /etc/lightdm/pi-greeter.conf
sed -ri 's,wallpaper=.*?,wallpaper=/usr/share/rpd-wallpaper/1.png,' /etc/xdg/pcmanfm/LXDE-pi/desktop-items-0.conf
EOF
Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

@@ -0,0 +1,5 @@
[Desktop Entry]
Type=Link
Name=Qtum
Icon=/usr/local/share/bitcoin.png
URL=/usr/share/applications/Qtum.desktop
+4
View File
@@ -0,0 +1,4 @@
IMG_SUFFIX=""
if [ "${USE_QEMU}" = "1" ]; then
export IMG_SUFFIX="${IMG_SUFFIX}-qemu"
fi
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash -e
if [ ! -d "${ROOTFS_DIR}" ]; then
copy_previous
fi