Change folder layout

This commit is contained in:
2025-03-24 21:43:17 -07:00
parent 896a6b9492
commit db12dd270c
12 changed files with 17 additions and 23 deletions

View File

@@ -1,3 +1,3 @@
Package: *
Pin: release o=cdn.oxmc.me/apt, n=bookworm
Pin: release o=apt.oxmc.me, n=bookworm
Pin-Priority: 1001

View File

@@ -8,23 +8,29 @@ EOF
# polkit fixes
install -m 644 files/polkit-admin.conf "${ROOTFS_DIR}/etc/polkit-1/localauthority.conf.d/51-admin.conf"
# Set default gnome-extensions
on_chroot << EOF
# Create the necessary directories for dconf settings and profiles
mkdir -p /etc/dconf/db/local.d
mkdir -p /etc/dconf/profile
# Include custom vendor file for gnome-inital-setup
mkdir -p "${ROOTFS_DIR}/usr/share/gnome-initial-setup/"
install -m 644 files/vendor.conf "${ROOTFS_DIR}/usr/share/gnome-initial-setup/"
# Configure default GDM3 Session to Xorg
on_chroot << EOF
sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/gdm3/daemon.conf
mkdir -p /var/lib/gdm
touch /var/lib/gdm/run-initial-setup
EOF
# Set default gnome-extensions
mkdir -p "${ROOTFS_DIR}/etc/dconf/db/local.d"
mkdir -p "${ROOTFS_DIR}/etc/dconf/profile"
install -m 644 files/gnome-extensions "${ROOTFS_DIR}/etc/dconf/db/local.d/00-extensions"
on_chroot << EOF
# Create the user profile to link user-db:user and system-db:local
echo "user-db:user" > /etc/dconf/profile/user
echo "system-db:local" >> /etc/dconf/profile/user
EOF
install -m 755 files/gnome-extensions "${ROOTFS_DIR}/etc/dconf/db/local.d/00-extensions"
# Set default Wallpaper
on_chroot << EOF
# Create the necessary directories for the wallpaper
mkdir -p /usr/local/share/backgrounds
EOF
mkdir -p "${ROOTFS_DIR}/usr/local/share/backgrounds"
install -m 644 files/loveimage.png "${ROOTFS_DIR}/usr/local/share/backgrounds/loveimage.png"
install -m 644 files/gnome-background "${ROOTFS_DIR}/etc/dconf/db/local.d/00-background"

View File

Before

Width:  |  Height:  |  Size: 3.8 MiB

After

Width:  |  Height:  |  Size: 3.8 MiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -1,12 +0,0 @@
#!/bin/bash -e
# Include custom vendor file for gnome-inital-setup
mkdir -p "${ROOTFS_DIR}/usr/share/gnome-initial-setup/"
install -m 644 files/vendor.conf "${ROOTFS_DIR}/usr/share/gnome-initial-setup/"
# Configure default GDM3 Session to Xorg
on_chroot << EOF
sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/gdm3/daemon.conf
mkdir -p /var/lib/gdm
touch /var/lib/gdm/run-initial-setup
EOF