diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-11-28 23:25:14 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-11-28 23:25:14 +0000 |
| commit | c49654c84d94d860200a1f4a48011dc7dc08c9d1 (patch) | |
| tree | 4445f7528b8a85205ef79b79d51917bbf8a88784 | |
| parent | 83f0edf4dbb2f78ac787caa0f51f288f64ba2ab2 (diff) | |
Avoid pi-gen tmpfs mount when staging policy
| -rwxr-xr-x | stage0/00-configure-apt/00-run.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stage0/00-configure-apt/00-run.sh b/stage0/00-configure-apt/00-run.sh index ce0a605..c3601c5 100755 --- a/stage0/00-configure-apt/00-run.sh +++ b/stage0/00-configure-apt/00-run.sh @@ -4,7 +4,7 @@ true > "${ROOTFS_DIR}/etc/apt/sources.list" rm -f "${ROOTFS_DIR}/etc/apt/preferences.d/backports-pref" install -m 644 files/debian.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/" install -m 644 files/raspi.sources "${ROOTFS_DIR}/etc/apt/sources.list.d/" -install -m 644 files/hibbian-apt-config.deb "${ROOTFS_DIR}/tmp/hibbian-apt-config.deb" +install -m 644 files/hibbian-apt-config.deb "${ROOTFS_DIR}/var/tmp/hibbian-apt-config.deb" sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/debian.sources" sed -i "s/RELEASE/${RELEASE}/g" "${ROOTFS_DIR}/etc/apt/sources.list.d/raspi.sources" @@ -31,8 +31,8 @@ on_chroot <<- \EOF dpkg --add-architecture armhf fi - dpkg -i /tmp/hibbian-apt-config.deb - rm -f /tmp/hibbian-apt-config.deb + dpkg -i /var/tmp/hibbian-apt-config.deb + rm -f /var/tmp/hibbian-apt-config.deb apt-get update apt-get dist-upgrade -y |
