stage2: enable pdiffs

This commit is contained in:
Serge Schneider
2025-06-05 19:48:35 +01:00
parent a078afeba0
commit 9ea6e44d64
2 changed files with 0 additions and 7 deletions

View File

@@ -1,7 +1,5 @@
#!/bin/bash -e #!/bin/bash -e
install -m 644 files/50raspi "${ROOTFS_DIR}/etc/apt/apt.conf.d/"
if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then
install -v -m 0700 -o 1000 -g 1000 -d "${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh install -v -m 0700 -o 1000 -g 1000 -d "${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh
echo "${PUBKEY_SSH_FIRST_USER}" >"${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh/authorized_keys echo "${PUBKEY_SSH_FIRST_USER}" >"${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh/authorized_keys

View File

@@ -1,5 +0,0 @@
# never use pdiffs. Current implementation is very slow on low-powered devices
Acquire::PDiffs "0";
# download up to 5 pdiffs:
#Acquire::PDiffs::FileLimit "5";