Fix: 2
This commit is contained in:
@@ -34,9 +34,10 @@ fi
|
||||
|
||||
# Configure apt preferences
|
||||
install -m 644 files/apt-chillcraftos-prefs "${ROOTFS_DIR}/etc/apt/preferences.d/"
|
||||
sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/preferences.d/apt-chillcraftos-prefs"
|
||||
|
||||
# Add raspberrypi-archive-keyring to apt if armhf or arm64
|
||||
if [[ "${ARCH}" == "arm64" || "${ARCH}" == "armhf" ]]; then
|
||||
# Add raspberrypi-archive-keyring to apt
|
||||
install -m 644 files/raspberrypi-archive-keyring.pgp "${ROOTFS_DIR}/usr/share/keyrings/"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Package: *
|
||||
Pin: release o=apt.oxmc.me, n=bookworm
|
||||
Pin: release o=apt.oxmc.me, n=RELEASE
|
||||
Pin-Priority: 1001
|
||||
|
||||
@@ -4,7 +4,7 @@ install -m 755 files/system-readonly "${ROOTFS_DIR}/sbin/"
|
||||
|
||||
if [ "${ARCH}" = "amd64" ]; then
|
||||
install -m 644 files/fstab-amd64 "${ROOTFS_DIR}/etc/fstab"
|
||||
elif [ "${ARCH}" = "arm64" ]; then
|
||||
if [[ "${ARCH}" == "arm64" || "${ARCH}" == "armhf" ]]; then
|
||||
install -m 644 files/fstab-rpi "${ROOTFS_DIR}/etc/fstab"
|
||||
fi
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- stage2.orig/rootfs/etc/inputrc
|
||||
+++ stage2/rootfs/etc/inputrc
|
||||
@@ -59,3 +59,7 @@
|
||||
# "\e[F": end-of-line
|
||||
|
||||
$endif
|
||||
+
|
||||
+# mappings for up and down arrows search history
|
||||
+# "\e[B": history-search-forward
|
||||
+# "\e[A": history-search-backward
|
||||
@@ -0,0 +1 @@
|
||||
02-inputrc.diff
|
||||
@@ -1,3 +1,2 @@
|
||||
01-useradd.diff
|
||||
02-inputrc.diff
|
||||
03-path.diff
|
||||
|
||||
@@ -9,4 +9,4 @@ python3-rpi-lgpio
|
||||
rpi-keyboard-config
|
||||
rpi-keyboard-fw-update
|
||||
rpi-usb-gadget
|
||||
kms++-utils
|
||||
kms++-utils
|
||||
|
||||
Reference in New Issue
Block a user