summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <[email protected]>2023-04-12 09:41:52 -0700
committerSteve Langasek <[email protected]>2023-04-12 09:41:52 -0700
commit53fcd577e83b14685d80cc473bc008f8ccd0592d (patch)
tree15862ccdd02ef321da3a2f475a9dd19332e7f1bf
parent8430d445d89a4316f7ddb59ab1960dd238f4c0a0 (diff)
We no longer need to run sedmk-sbuild-not-automatic
-rwxr-xr-xmk-sbuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk-sbuild b/mk-sbuild
index aab252b..accd8d7 100755
--- a/mk-sbuild
+++ b/mk-sbuild
@@ -891,9 +891,7 @@ cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
sudo bash -c "cat > $MNT/etc/apt/sources.list"
rm -f "$TEMP_SOURCES"
if [ -n "$TEMP_PREFERENCES" ]; then
- sed -e "s|RELEASE|$RELEASE|g" < "$TEMP_PREFERENCES" | \
- sudo bash -c "cat > $MNT/etc/apt/preferences.d/proposed.pref"
- rm -f "$TEMP_PREFERENCES"
+ sudo mv "TEMP_PREFERENCES" $MNT/etc/apt/preferences.d/proposed.pref
fi
# Copy the timezone (comment this out if you want to leave the chroot at UTC)