Change folder layout
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.8 MiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
@@ -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
|
||||
Reference in New Issue
Block a user