cat chr.sh
mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys
mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev
mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
mount --bind /run /mnt/run && mount --make-slave /mnt/run
PS1='(chroot) # ' chroot /mnt/ /bin/sh
mkdir -p /etc/portage/patches/sys-apps/coreutils/
emerge -p sys-apps/coreutils
[ebuild R ] sys-apps/coreutils-9.1-r2
for coreutils patch file https://github.com/jarun/advcpmv
cd /etc/portage/patches/sys-apps/coreutils
wget https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-0.9-9.1.patch
emerge -av coreutils
gentoo moduleless
/etc/portage/make.conf
USE=-kmod
emerge --ask --deep --newuse --update --verbose @world
/etc/portage/profile/packages
-*sys-apps/kmod
emerge -ac
emerge -pvc sys-apps/kmod
Comments
Post a Comment