§2023-01-03
(chroot) hc4Gentoo / # find /var -name world
/var/lib/portage/world
(chroot) hc4Gentoo / # cat /var/lib/portage/world
(chroot) hc4Gentoo / # emerge --ask --verbose --update --deep --newuse @world
* IMPORTANT: 11 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
I started with a odroid-hc4, made by copy the /boot section of manjaro-arm-installer
image, then replace the root section with a gentoo stage 3 image. This is called pseudo gentoo(偽物)。This article documents how to make another real gentoo SSD.
- Orginal Setup
emerge sys-kernel/genkernel
hc4Gentoo /home/alexlai # emerge sys-kernel/genkernel
Calculating dependencies... done!
Dependency resolution took 19.46 s.
!!! All ebuilds that could satisfy "sys-kernel/linux-firmware" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/linux-firmware-99999999::gentoo (masked by: || ( ) linux-fw-redistributable license(s), missing keyword)
A copy of the 'linux-fw-redistributable' license is located at '/var/db/repos/gentoo/licenses/linux-fw-redistributable'.
- sys-kernel/linux-firmware-20230919::gentoo (masked by: || ( ) linux-fw-redistributable license(s))
- sys-kernel/linux-firmware-20230804::gentoo (masked by: || ( ) linux-fw-redistributable license(s))
- sys-kernel/linux-firmware-20230625_p20230724::gentoo (masked by: || ( ) linux-fw-redistributable license(s))
(dependency required by "sys-kernel/genkernel-4.3.6::gentoo[firmware]" [ebuild])
(dependency required by "sys-kernel/genkernel" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
hc4Gentoo /home/alexlai # touch /etc/portage/package.accept_keywords/zzz_autounmask
hc4Gentoo /home/alexlai # emerge sys-kernel/genkernel --autounmask-write --autounmask
hc4Gentoo /home/alexlai # cat /etc/portage/package.accept_keywords/zzz_autounmask
hc4Gentoo /home/alexlai # dispatch-conf
--- /tmp/tmpcalplwfq/0 2023-10-03 11:17:34.250665760 +0800
+++ /etc/portage/._cfg0000_package.license 2023-10-03 11:16:54.440892943 +0800
@@ -1 +1,3 @@
-/dev/null
+# required by sys-kernel/genkernel-4.3.6::gentoo[firmware]
+# required by sys-kernel/genkernel (argument)
+=sys-kernel/linux-firmware-20230919 linux-fw-redistributable
>> (1 of 1) -- /etc/portage/package.license
>> q quit, h help, n next, e edit-new, z zap-new, u use-new
m merge, t toggle-merge, l look-merge: <-- u ???
hc4Gentoo /home/alexlai # emerge sys-kernel/genkernel <-- OK now
emerge sys-kernel/gentoo-sources
get kernel source
hc4Gentoo /home/alexlai # ls /usr/src/
linux-6.1.53-gentoo-r1