From 9954aaf3ff9a56b9a69d04ec10b66f1078445c89 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Thu, 15 Aug 2024 12:05:20 +0200 Subject: [PATCH] Don't use wrong-architecture tools to back up stage0... --- gentoo-2024.8/gentoo.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gentoo-2024.8/gentoo.txt b/gentoo-2024.8/gentoo.txt index 2694689..569e46b 100644 --- a/gentoo-2024.8/gentoo.txt +++ b/gentoo-2024.8/gentoo.txt @@ -294,9 +294,8 @@ echo 'nameserver 1.1.1.1' > /gentoo/etc/resolv.conf echo 'C.UTF8 UTF-8' > /gentoo/etc/locale.gen # Optional: Back up the system -env -i chroot /gentoo tar --sort=name -cf /gentoo.tar / -env -i chroot /gentoo bzip2 -9v /gentoo.tar -mv /gentoo/gentoo.tar.bz2 / +tar --sort=name -cf /gentoo.tar -C /gentoo . +bzip2 -9v /gentoo.tar # Copy ::gentoo repo and distfiles rsync -aP /var/db/repos/ /gentoo/var/db/repos