forked from RPi-Distro/pi-gen
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
071d395
commit 1e90aa6
Showing
12 changed files
with
241 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
IMG_NAME='Raspbian-reTerminal' | ||
APT_PROXY=http://192.168.111.150:3142 | ||
USE_QCOW2=0 | ||
USE_QEMU=0 | ||
DEPLOY_ZIP=1 | ||
ENABLE_SSH=1 | ||
PROXYCHAINS=proxychains4 | ||
GIT_MODULE='https://github.com/Seeed-Studio/seeed-linux-dtoverlays.git --depth=1' | ||
GIT_DEMO='https://github.com/Seeed-Studio/Seeed_Python_ReTerminalQt5Examples.git --depth=1' | ||
COPY_FILES=1 | ||
WPA_COUNTRY=CN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
python-automationhat python3-automationhat | ||
python-blinkt python3-blinkt | ||
python-cap1xxx python3-cap1xxx | ||
python-drumhat python3-drumhat | ||
python-envirophat python3-envirophat | ||
python-explorerhat python3-explorerhat | ||
python-fourletterphat python3-fourletterphat | ||
python-microdotphat python3-microdotphat | ||
python-mote python3-mote | ||
python-motephat python3-motephat | ||
python-phatbeat python3-phatbeat | ||
python-pianohat python3-pianohat | ||
python-piglow python3-piglow | ||
python-rainbowhat python3-rainbowhat | ||
python-scrollphat python3-scrollphat | ||
python-scrollphathd python3-scrollphathd | ||
python-sn3218 python3-sn3218 | ||
python-skywriter python3-skywriter | ||
python-touchphat python3-touchphat | ||
python-buttonshim python3-buttonshim | ||
python-unicornhathd python3-unicornhathd | ||
python-pantilthat python3-pantilthat | ||
#python-automationhat python3-automationhat | ||
#python-blinkt python3-blinkt | ||
#python-cap1xxx python3-cap1xxx | ||
#python-drumhat python3-drumhat | ||
#python-envirophat python3-envirophat | ||
#python-explorerhat python3-explorerhat | ||
#python-fourletterphat python3-fourletterphat | ||
#python-microdotphat python3-microdotphat | ||
#python-mote python3-mote | ||
#python-motephat python3-motephat | ||
#python-phatbeat python3-phatbeat | ||
#python-pianohat python3-pianohat | ||
#python-piglow python3-piglow | ||
#python-rainbowhat python3-rainbowhat | ||
#python-scrollphat python3-scrollphat | ||
#python-scrollphathd python3-scrollphathd | ||
#python-sn3218 python3-sn3218 | ||
#python-skywriter python3-skywriter | ||
#python-touchphat python3-touchphat | ||
#python-buttonshim python3-buttonshim | ||
#python-unicornhathd python3-unicornhathd | ||
#python-pantilthat python3-pantilthat |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
#!/bin/bash -e | ||
|
||
|
||
if [ "X$GIT_MODULE" != "X" ]; then | ||
MODULE_PATH=/tmp/seeed-linux-dtoverlays | ||
${PROXYCHAINS} git clone ${GIT_MODULE} "${ROOTFS_DIR}${MODULE_PATH}" | ||
${PROXYCHAINS} wget https://goo.gl/htHv7m -O "${ROOTFS_DIR}/boot/dt-blob.bin" | ||
|
||
on_chroot << EOF | ||
cd ${MODULE_PATH} | ||
sudo ARCH=arm64 ./scripts/reTerminal.sh | ||
EOF | ||
|
||
rm -rfv "${ROOTFS_DIR}${MODULE_PATH}" | ||
fi | ||
|
||
if [ "X$GIT_DEMO" != "X" ]; then | ||
DEMO_PATH=/home/${FIRST_USER_NAME}/Seeed_Python_ReTerminalQt5Examples | ||
${PROXYCHAINS} git clone ${GIT_DEMO} "${ROOTFS_DIR}${DEMO_PATH}" | ||
|
||
on_chroot << EOF | ||
mkdir -pv /home/${FIRST_USER_NAME}/Desktop/ | ||
cp -v ${DEMO_PATH}/src/r2.desktop /home/${FIRST_USER_NAME}/Desktop/ | ||
sudo chown -vR ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME} | ||
EOF | ||
|
||
rm -rfv "${ROOTFS_DIR}${DEMO_PATH}"/.git | ||
fi | ||
|
||
if [ -f "purges" ]; then | ||
log "Begin ${SUB_STAGE_DIR}/purges" | ||
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "purges")" | ||
if [ -n "$PACKAGES" ]; then | ||
on_chroot << EOF | ||
apt-get autoremove --purge -y $PACKAGES | ||
EOF | ||
if [ "${USE_QCOW2}" = "1" ]; then | ||
on_chroot << EOF | ||
apt-get clean | ||
EOF | ||
fi | ||
fi | ||
log "End ${SUB_STAGE_DIR}/purges" | ||
fi | ||
|
||
if [ -f "remove" ]; then | ||
log "Begin ${SUB_STAGE_DIR}/remove" | ||
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "remove")" | ||
on_chroot << EOF | ||
rm -rfv $PACKAGES | ||
EOF | ||
log "End ${SUB_STAGE_DIR}/remove" | ||
fi | ||
|
||
if [ -f "packages" ]; then | ||
log "Begin ${SUB_STAGE_DIR}/packages" | ||
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "packages")" | ||
if [ -n "$PACKAGES" ]; then | ||
on_chroot << EOF | ||
apt-get -o APT::Acquire::Retries=3 install -y $PACKAGES | ||
EOF | ||
if [ "${USE_QCOW2}" = "1" ]; then | ||
on_chroot << EOF | ||
apt-get clean | ||
EOF | ||
fi | ||
fi | ||
log "End ${SUB_STAGE_DIR}/packages" | ||
fi | ||
|
||
if [ "${COPY_FILES}" = "1" ]; then | ||
mkdir -p ${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/libfm \ | ||
&& cp -fv ./files/libfm.conf "$_" | ||
on_chroot << EOF | ||
sudo chown -vR ${FIRST_USER_NAME}:${FIRST_USER_NAME} /home/${FIRST_USER_NAME}/.config | ||
EOF | ||
|
||
SCHEMAS_PATH=/usr/share/glib-2.0/schemas/ | ||
cp -fv ./files/20_onboard-default-settings.gschema.override "${ROOTFS_DIR}${SCHEMAS_PATH}" | ||
on_chroot << EOF | ||
glib-compile-schemas ${SCHEMAS_PATH} | ||
EOF | ||
fi |
13 changes: 13 additions & 0 deletions
13
stage4/06-reTerminal/files/20_onboard-default-settings.gschema.override
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[org.onboard] | ||
layout='Small' | ||
theme='Nightshade' | ||
xembed-onboard=true | ||
|
||
[org.onboard.window] | ||
docking-enabled=true | ||
force-to-top=true | ||
window-handles='' | ||
|
||
[org.onboard.auto-show] | ||
enabled=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Configuration file for the libfm version 1.3.1. | ||
# Autogenerated file, don't edit, your changes will be overwritten. | ||
|
||
[config] | ||
single_click=0 | ||
use_trash=1 | ||
confirm_del=1 | ||
confirm_trash=1 | ||
advanced_mode=0 | ||
si_unit=0 | ||
force_startup_notify=1 | ||
backup_as_hidden=1 | ||
no_usb_trash=1 | ||
no_child_non_expandable=0 | ||
show_full_names=0 | ||
only_user_templates=0 | ||
template_run_app=0 | ||
template_type_once=0 | ||
auto_selection_delay=600 | ||
drop_default_action=auto | ||
defer_content_test=0 | ||
quick_exec=1 | ||
show_internal_volumes=0 | ||
terminal=x-terminal-emulator %s | ||
archiver=xarchiver | ||
thumbnail_local=1 | ||
thumbnail_max=2048 | ||
smart_desktop_autodrop=1 | ||
cutdown_menus=1 | ||
cutdown_places=1 | ||
real_expanders=1 | ||
|
||
[ui] | ||
big_icon_size=48 | ||
small_icon_size=24 | ||
pane_icon_size=24 | ||
thumbnail_size=80 | ||
show_thumbnail=1 | ||
shadow_hidden=0 | ||
|
||
[places] | ||
places_home=1 | ||
places_desktop=0 | ||
places_root=1 | ||
places_computer=0 | ||
places_trash=0 | ||
places_applications=0 | ||
places_network=0 | ||
places_unmounted=1 | ||
places_volmounts=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
at-spi2-core onboard | ||
qml-module-qtquick-shapes | ||
python3-pyside2.qtqml | ||
python3-pyside2.qtcore | ||
python3-pyside2.qtnetwork | ||
python3-pyside2.qtgui | ||
python3-pyside2.qtwidgets | ||
python3-pyside2.qtquick | ||
qtquickcontrols2-5-dev | ||
qml-module-qtcharts | ||
qml-module-qtquick-controls | ||
qml-module-qtquick-controls2 | ||
python3-evdev python3-psutil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
python2.7 | ||
raspberrypi-kernel-headers | ||
git | ||
#fonts-freefont-ttf | ||
#fonts-dejavu-core | ||
man-db manpages manpages-dev | ||
#gdisk | ||
#mousepad | ||
#xarchiver | ||
#galculator | ||
#geoip-database | ||
#build-essential | ||
#gcc-4.9-base | ||
#gcc-5-base | ||
#gcc-6-base | ||
#gcc-7-base | ||
#g++ g++-8 | ||
#gdb gdbm-l10n | ||
cups cups-common cups-pk-helper cups-ppdc sane-utils | ||
pi-printer-support printer-driver-escpr system-config-printer | ||
geany | ||
thonny |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/usr/lib/chromium-browser/chromium-browser | ||
#/usr/share/icons/Adwaita | ||
#/usr/share/icons/HighContrast | ||
#/usr/share/icons/gnome | ||
/usr/share/rpd-wallpaper/aurora.jpg | ||
/usr/share/rpd-wallpaper/balloon.jpg | ||
/usr/share/rpd-wallpaper/bridge.jpg | ||
/usr/share/rpd-wallpaper/canyon.jpg | ||
#/usr/share/rpd-wallpaper/cliff.jpg | ||
/usr/share/rpd-wallpaper/clouds.jpg | ||
#/usr/share/rpd-wallpaper/fisherman.jpg | ||
/usr/share/rpd-wallpaper/fjord.jpg | ||
/usr/share/rpd-wallpaper/islands.jpg | ||
/usr/share/rpd-wallpaper/lasers.jpg | ||
/usr/share/rpd-wallpaper/mountain.jpg | ||
/usr/share/rpd-wallpaper/road.jpg | ||
/usr/share/rpd-wallpaper/sand.jpg | ||
#/usr/share/rpd-wallpaper/temple.jpg | ||
/usr/share/rpd-wallpaper/trees.jpg | ||
#/usr/share/rpd-wallpaper/waterfall.jpg |