Add screensaver auto-lock, lynx/gsocket/apexrc defaults, htoprc, and Bantam updates
This commit is contained in:
1 parent
b7dca4f15f
commit
c12ed68d19
36 files changed
+1421
-75
No files matched your search
@@ -58,12 +58,12 @@ if command -v apk >/dev/null 2>&1 && \
|
||||
# Clear any older @geminux world pins and installed hashes so rebuilt local
|
||||
# packages with unchanged -r0 version strings always extract updated payloads.
|
||||
if [ -f "$TARGET_ROOTFS/etc/apk/world" ]; then
|
||||
grep -v -E '^geminux-(kernel-modules|xlibre|suckless|dunst|ui|bantam|config)(@|=|$)' \
|
||||
grep -v -E '^geminux-(kernel-modules|xlibre|suckless|dunst|ui|bantam|gsocket|config)(@|=|$)' \
|
||||
"$TARGET_ROOTFS/etc/apk/world" > "$TARGET_ROOTFS/etc/apk/world.tmp" || true
|
||||
mv "$TARGET_ROOTFS/etc/apk/world.tmp" "$TARGET_ROOTFS/etc/apk/world"
|
||||
fi
|
||||
apk --root "$TARGET_ROOTFS" --arch aarch64 del --no-scripts --purge=yes \
|
||||
geminux-config geminux-bantam geminux-ui geminux-dunst geminux-suckless \
|
||||
geminux-config geminux-gsocket geminux-bantam geminux-ui geminux-dunst geminux-suckless \
|
||||
geminux-xlibre geminux-kernel-modules 2>/dev/null || true
|
||||
|
||||
apk --root "$TARGET_ROOTFS" --arch aarch64 add --no-scripts --clean-protected=no \
|
||||
@@ -73,13 +73,14 @@ if command -v apk >/dev/null 2>&1 && \
|
||||
"geminux-dunst@geminux=1.12.2-r0" \
|
||||
"geminux-ui@geminux=${VER}-r0" \
|
||||
"geminux-bantam@geminux=${VER}-r0" \
|
||||
"geminux-gsocket@geminux=1.4.43-r0" \
|
||||
"geminux-config@geminux=${VER}-r0"
|
||||
else
|
||||
# Fallback direct copy when running on host without apk-tools
|
||||
if [ -d "$BASE_DIR/overlay/rootfs" ]; then
|
||||
cp -af "$BASE_DIR/overlay/rootfs/." "$TARGET_ROOTFS/"
|
||||
fi
|
||||
for subdir in xlibre suckless dunst geminux bantam; do
|
||||
for subdir in xlibre suckless dunst geminux bantam gsocket; do
|
||||
if [ -d "$BASE_DIR/prebuilt/$subdir" ]; then
|
||||
cp -af "$BASE_DIR/prebuilt/$subdir/." "$TARGET_ROOTFS/"
|
||||
fi
|
||||
@@ -195,8 +196,8 @@ if [ -f "$TARGET_ROOTFS/etc/passwd" ]; then
|
||||
"$TARGET_ROOTFS/etc/passwd"
|
||||
fi
|
||||
|
||||
mkdir -p "$TARGET_ROOTFS/root"
|
||||
for f in .bashrc .profile .bash_profile .gitconfig; do
|
||||
mkdir -p "$TARGET_ROOTFS/root" "$TARGET_ROOTFS/root/.config/htop"
|
||||
for f in .bashrc .profile .bash_profile .gitconfig .apexrc .lynx.cfg .config/htop/htoprc; do
|
||||
if [ -f "$TARGET_ROOTFS/etc/skel/$f" ]; then
|
||||
cp -f "$TARGET_ROOTFS/etc/skel/$f" "$TARGET_ROOTFS/root/$f"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user