From: Christian Heller Date: Sun, 27 Oct 2024 02:51:01 +0000 (+0100) Subject: Minor fixes. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/static/bar%20baz.html?a=commitdiff_plain;h=b019ae97463f863d7fe7f4b831fb165cb0d8504f;p=config Minor fixes. --- 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