Gentoo Archives: gentoo-user

From: Michael Jones <gentoo@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Compiling first and then installing using -K
Date: Wed, 26 Feb 2020 06:00:59
Message-Id: CABfmKSKqMhmo6gNitN=Ujh-LpMDw-K0F9UxfJym440kvBzhXHA@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Compiling first and then installing using -K by Dale
1 On Tue, Feb 25, 2020, 23:04 Dale <rdalek1967@×××××.com> wrote:
2
3 > Dale wrote:
4 > >
5 > > P. S. Starting to wonder if I should copy my current install over and
6 > > start there. I'd assume skipping /home, /proc and /sys would get me
7 > > started. Still, gonna try the stage3 again. Just for giggles. Do all
8 > > this while I cook some BBQ chicken for supper tomorrow night.
9 > >
10 >
11 > Wanted to update on this, in case some other poor soul wants to go down
12 > this path. The PS above is what I ended up doing. That stage3 tarball
13 > never worked. It was like running in circles trying to emerge
14 > anything. Plus, copying over from my current install gives me a 100%
15 > clone of my install. So, I created a script, y'all would call it a
16 > joke, to copy over all the directories/files from my current install.
17 > That seems to work. I actually noticed I'm a version behind on
18 > kde-plasma and am upgrading it in the chroot as I type. Once that is
19 > done, I can copy over the binaries and do a emerge -k for the running
20 > install. This is my scripts, y'alls jokes. lol
21 >
22 >
23 > root@fireball / # cat /root/gentoo-mount
24 > mount --types proc /proc /backup/gentoo-build/proc/
25 > mount --rbind /sys /backup/gentoo-build/sys/
26 > mount --rbind /dev /backup/gentoo-build/dev/
27 >
28 >
29 > root@fireball / # cat /root/gentoo-rsync-build
30 > rsync -av --progress --delete /bin/* /backup/gentoo-build/bin/
31 > rsync -av --progress --delete /boot/* /backup/gentoo-build/boot/
32 > rsync -av --progress --delete /etc/* /backup/gentoo-build/etc/
33 > rsync -av --progress --delete /lib/* /backup/gentoo-build/lib/
34 > rsync -av --progress --delete /lib64/* /backup/gentoo-build/lib64/
35 > rsync -av --progress --delete /opt/* /backup/gentoo-build/opt/
36 > rsync -av --progress --delete /run/* /backup/gentoo-build/run/
37 > rsync -av --progress --delete /sbin/* /backup/gentoo-build/sbin/
38 > rsync -av --progress --delete /usr/* /backup/gentoo-build/usr/
39 > rsync -av --progress --delete /var/* /backup/gentoo-build/var/
40 >
41 > echo "Sync done"
42 > root@fireball / #
43 >
44 >
45 > The first one mounts things, if they are not already mounted. The
46 > second one syncs up everything, except /dev, /sys etc etc.
47 >
48 > I'll know in a couple hours or so how well this works. I can't see why
49 > I would have any problems but . . . . . I'm me. ROFL :/
50 >
51 > Dale
52 >
53 > :-) :-)
54 >
55
56 You might want to take a look at this :
57 https://wiki.gentoo.org/wiki/Project:RelEng_GRS
58
59 Its been a long time since I messed with it. But here's my configuration if
60 it does you any good.
61
62 https://github.com/jonesmz/grs/tree/desktop-amd64-hardened
63
64 >