From b019ae97463f863d7fe7f4b831fb165cb0d8504f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 27 Oct 2024 03:51:01 +0100 Subject: [PATCH] Minor fixes. --- many_releases/aptmark/raspi | 5 ++++- many_releases/scripts/_misc.sh | 4 ++-- testing/scripts/setup_raspi.sh | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/many_releases/aptmark/raspi b/many_releases/aptmark/raspi index dc6df91..24b0d19 100644 --- a/many_releases/aptmark/raspi +++ b/many_releases/aptmark/raspi @@ -5,4 +5,7 @@ raspi-firmware # to boot into a graphical environment greetd sway - +# for convenience +sudo +vim +ack diff --git a/many_releases/scripts/_misc.sh b/many_releases/scripts/_misc.sh index b3b2172..c48602d 100755 --- a/many_releases/scripts/_misc.sh +++ b/many_releases/scripts/_misc.sh @@ -84,11 +84,11 @@ mark_nonrequireds_auto() { upgrade_from_older_release() { # Upgrade system to calling context's Debian release. # Caution: Don't expect any customized /etc files to surivive this! - path_sources_list='/etc/apt/sources.list' + path_sources_list='/apt/sources.list' apt update apt -y -o Dpkg::Options::='--force-confnew' upgrade apt -y -o Dpkg::Options::='--force-confnew' full-upgrade - cp "../etc/all${path_sources_list}" "${path_sources_list}" + cp "../etc/all${path_sources_list}" "/etc${path_sources_list}" apt clean apt update apt -y -o Dpkg::Options::='--force-confnew' upgrade diff --git a/testing/scripts/setup_raspi.sh b/testing/scripts/setup_raspi.sh index 2ce0d81..e8c7230 100755 --- a/testing/scripts/setup_raspi.sh +++ b/testing/scripts/setup_raspi.sh @@ -19,7 +19,7 @@ rm "${FILENAME_PUBLIC_KEY}" upgrade_from_older_release -# properly apt system +# properly configure and apt system for root in "${PATH_MANY}" '..'; do copy_dirtree "${root}${PATH_REL_ETC}" '/etc' all raspi done -- 2.30.2