From 331d5ec4e7f5407440e41bd39bcfe463ead28a3b Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 25 Oct 2024 05:22:32 +0200
Subject: [PATCH] Various improvements.

---
 {testing => many_releases}/aptmark/all     | 0
 {testing => many_releases}/aptmark/raspi   | 3 +++
 testing/etc/all/{etc => }/apt/sources.list | 0
 testing/etc/all/{etc => }/locale.conf      | 0
 testing/scripts/setup_raspi.sh             | 2 +-
 5 files changed, 4 insertions(+), 1 deletion(-)
 rename {testing => many_releases}/aptmark/all (100%)
 rename {testing => many_releases}/aptmark/raspi (64%)
 rename testing/etc/all/{etc => }/apt/sources.list (100%)
 rename testing/etc/all/{etc => }/locale.conf (100%)

diff --git a/testing/aptmark/all b/many_releases/aptmark/all
similarity index 100%
rename from testing/aptmark/all
rename to many_releases/aptmark/all
diff --git a/testing/aptmark/raspi b/many_releases/aptmark/raspi
similarity index 64%
rename from testing/aptmark/raspi
rename to many_releases/aptmark/raspi
index eab877a..8a9c55c 100644
--- a/testing/aptmark/raspi
+++ b/many_releases/aptmark/raspi
@@ -2,4 +2,7 @@
 openssh-server
 # this gotta be good for _something_ …
 raspi-firmware
+# to boot into a graphical environment
+greetd
+weston
 
diff --git a/testing/etc/all/etc/apt/sources.list b/testing/etc/all/apt/sources.list
similarity index 100%
rename from testing/etc/all/etc/apt/sources.list
rename to testing/etc/all/apt/sources.list
diff --git a/testing/etc/all/etc/locale.conf b/testing/etc/all/locale.conf
similarity index 100%
rename from testing/etc/all/etc/locale.conf
rename to testing/etc/all/locale.conf
diff --git a/testing/scripts/setup_raspi.sh b/testing/scripts/setup_raspi.sh
index d9469ae..2ce0d81 100755
--- a/testing/scripts/setup_raspi.sh
+++ b/testing/scripts/setup_raspi.sh
@@ -21,7 +21,7 @@ upgrade_from_older_release
 
 # properly apt system
 for root in "${PATH_MANY}" '..'; do
-    copy_dirtree "${root}${PATH_REL_ETC}" "" all raspi
+    copy_dirtree "${root}${PATH_REL_ETC}" '/etc' all raspi
 done
 apt update
 mark_nonrequireds_auto
-- 
2.30.2