Gentoo on Pinebook Pro RELEASE
#8
(01-18-2020, 01:24 PM)jannik2099 Wrote:
(01-15-2020, 11:20 AM)delcaran Wrote: Hello! I'm a fresh owner of the Pinebook Pro and I would like to test Gentoo with full disk encryption on it.
It's the first time I install Gentoo without and ISO, so I need to be assured on the correct procedure.
First I should note that an encrypted boot partition is not possible, but encrypted root works just fine, that's what I'm using right now.
I have never used a hardened profile nor do I know the differences here, sorry.
You set up the encryption during partitioning. For the initramfs you should use dracut with `dracut -m "crypt drm i18n base"` (and your filesystem if you made it a module, and lvm if you use it) - all other initramfs tools have failed me thus far in getting the display to work. The Kernel commandline should include console=tty1 rd.luks.uuid=... and after that root=UUID=...
The script should only be run once directly after entering the chroot, not again on the live system. Don't forget to install the packages mentioned in the README

Thank you for your kind reply, I tried following the steps but I run in some issues while running the prepare.sh script inside chroot.
It looks like as if there are some conflicts and layman is not being installed.
This is the full output of the script.

Code:
(chroot) Debian-Desktop /var/tmp/gentoo-pinebookpro # ./prepare.sh 
detected init=openrc
applied fix for sddm login
patching file /etc/portage/make.conf
applied optimal settings to make.conf
installed gles2 profile patches
NOTE: this will disable OpenGL acceleration in place of gles2!
enabled zram swap drive
syncing main repository, this will take a while
Fetching most recent snapshot ...
Trying to retrieve 20200118 snapshot from http://distfiles.gentoo.org ...
Fetching file portage-20200118.tar.xz.md5sum ...
Fetching file portage-20200118.tar.xz.gpgsig ...
Fetching file portage-20200118.tar.xz ...
Checking digest ...
Getting snapshot timestamp ...
Syncing local tree ...
  
Number of files: 157,673 (reg: 131,072, dir: 26,601)
Number of created files: 157,672 (reg: 131,072, dir: 26,600)
Number of deleted files: 0
Number of regular files transferred: 131,072
Total file size: 207.96M bytes
Total transferred file size: 207.96M bytes
Literal data: 207.96M bytes
Matched data: 0 bytes
File list size: 4.17M
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 111.66M
Total bytes received: 2.61M

sent 111.66M bytes  received 2.61M bytes  530.22K bytes/sec
total size is 207.96M  speedup is 1.82
Cleaning up ...

Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)



 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

installing pinebookpro-overlay, this will take an even longer while

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
>>> Recording sys-apps/portage in "world" favorites file...
>>> Jobs: 0 of 0 complete                           Load avg: 2.10, 2.36, 1.53
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
[ebuild  r  U  ] dev-lang/perl-5.30.1 [5.28.2-r1]
[ebuild  r  U  ] perl-core/File-Temp-0.230.900 [0.230.400-r1]
[ebuild  r  U  ] virtual/perl-File-Temp-0.230.900 [0.230.400-r5]
[ebuild  r  UD~] dev-libs/openssl-1.1.0l [1.1.1d-r2] USE="-bindist*" 
[ebuild  rR    ] virtual/perl-ExtUtils-MakeMaker-7.340.0-r1 
[ebuild  r  U  ] virtual/perl-File-Spec-3.780.0 [3.740.0]
[ebuild  rR    ] virtual/perl-CPAN-Meta-YAML-0.18.0-r4 
[ebuild  r  U  ] virtual/perl-IO-1.400.0 [1.390.0]
[ebuild  rR    ] virtual/perl-Test-Harness-3.420.0-r1 
[ebuild  r  U  ] virtual/perl-version-0.992.400 [0.992.300]
[ebuild  rR    ] virtual/perl-Parse-CPAN-Meta-2.150.10-r2 
[ebuild  r  U  ] virtual/perl-Data-Dumper-2.174.0 [2.170.0]
[ebuild  rR    ] virtual/perl-Carp-1.500.0-r1 
[ebuild  rR    ] virtual/perl-ExtUtils-Install-2.140.0-r1 
[ebuild  rR    ] dev-perl/Text-CharWidth-0.40.0-r1 
[ebuild  r  U  ] virtual/perl-podlators-4.110.0 [4.100.0]
[ebuild  rR    ] dev-perl/XML-Parser-2.440.0 
[ebuild  r  U  ] virtual/perl-Module-Metadata-1.0.36 [1.0.33-r1]
[ebuild  r  U  ] virtual/perl-ExtUtils-CBuilder-0.280.231 [0.280.230]
[ebuild  rR    ] virtual/perl-Perl-OSType-1.10.0-r2 
[ebuild  rR    ] virtual/perl-Text-ParseWords-3.300.0-r5 
[ebuild  rR    ] virtual/perl-Getopt-Long-2.500.0-r1 
[ebuild  r  U  ] virtual/perl-ExtUtils-Manifest-1.720.0 [1.700.0-r5]
[ebuild  r  U  ] virtual/perl-JSON-PP-4.20.0 [2.970.10]
[ebuild  rR    ] virtual/perl-Exporter-5.730.0-r1 
[ebuild  r  U  ] virtual/perl-ExtUtils-ParseXS-3.400.0 [3.390.0]
[ebuild  N     ] dev-perl/TimeDate-2.300.0 
[ebuild  N     ] virtual/perl-Scalar-List-Utils-1.500.0-r1 
[ebuild  N     ] virtual/perl-libnet-3.110.0-r1 
[ebuild  N     ] virtual/perl-Digest-SHA-6.20.0 
[ebuild  N     ] virtual/perl-Digest-MD5-2.550.0-r1 
[ebuild  rR    ] net-misc/iputils-20180629 
[ebuild  rR    ] net-misc/wget-1.20.3-r1 
[ebuild  rR    ] dev-perl/Locale-gettext-1.70.0 
[ebuild  rR    ] virtual/perl-CPAN-Meta-2.150.10-r2 
[ebuild  rR    ] dev-perl/Class-Inspector-1.320.0 
[ebuild  rR    ] dev-perl/Text-Unidecode-1.300.0 
[ebuild  rR    ] dev-perl/File-ShareDir-Install-0.110.0 
[ebuild  rR    ] dev-perl/TermReadKey-2.370.0 
[ebuild  rR    ] dev-perl/Unicode-EastAsianWidth-1.330.0-r1 
[ebuild  rR    ] dev-perl/Text-WrapI18N-0.60.0-r1 
[ebuild  N     ] dev-perl/MailTools-2.190.0  USE="-examples -test" 
[ebuild  N     ] dev-perl/Digest-HMAC-1.30.0-r1 
[ebuild  rR    ] dev-perl/Module-Build-0.422.400 
[ebuild  rR    ] dev-perl/File-ShareDir-1.104.0 
[ebuild  N     ] dev-perl/Authen-SASL-2.160.0-r1  USE="-kerberos" 
[ebuild  rR    ] dev-perl/libintl-perl-1.310.0 
[ebuild  rR    ] dev-perl/SGMLSpm-1.1-r1 
[ebuild  N     ] dev-perl/Error-0.170.250  USE="-test" 
[ebuild  r  U  ] dev-lang/python-2.7.17 [2.7.15]
[ebuild  r  U  ] dev-lang/python-3.6.9 [3.6.5] USE="-bluetooth%" 
[ebuild  rR    ] app-text/po4a-0.47-r1 
[ebuild  rR    ] sys-apps/texinfo-6.6-r1 
[ebuild  rR    ] net-misc/curl-7.66.0 
[ebuild  N     ] dev-vcs/git-2.24.1  USE="blksha1 curl gpg iconv nls pcre pcre-jit perl threads webdav -cgi -cvs (-doc) -emacs -gnome-keyring -highlight -libressl (-mediawiki) (-mediawiki-experimental) -perforce (-ppcsha1) -subversion -test (-tk) -xinetd" PYTHON_SINGLE_TARGET="python3_6 -python2_7 (-python3_7)" PYTHON_TARGETS="python2_7 python3_6 (-python3_7)" 
[ebuild  rR    ] app-portage/portage-utils-0.80 
[ebuild  N     ] dev-python/six-1.12.0  USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild  N     ] dev-python/idna-2.8  PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/pyGPG-0.2  PYTHON_TARGETS="python2_7 python3_6 (-python3_7)" 
[ebuild  N     ] dev-python/pyasn1-0.4.2  USE="-doc" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild  N     ] dev-python/asn1crypto-0.24.0  USE="-test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/ply-3.11  USE="-examples" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/chardet-3.0.4  USE="-test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/PySocks-1.6.8  USE="-test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/ipaddress-1.0.22  PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild  N     ] dev-python/enum34-1.1.6-r1  USE="-doc" PYTHON_TARGETS="python2_7" 
[ebuild  N     ] virtual/python-ipaddress-1.0-r1  PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/pycparser-2.19-r1  USE="-test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] virtual/python-enum34-2  PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/cffi-1.13.2  USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/cryptography-2.6.1-r1  USE="-idna -libressl -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild  N     ] dev-python/pyopenssl-19.0.0  USE="-doc -examples (-test)" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild  N     ] dev-python/ndg-httpsclient-0.4.0  PYTHON_TARGETS="python2_7 python3_6 (-pypy3)" 
[ebuild  N     ] dev-python/urllib3-1.24.2  USE="-doc (-test)" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7) (-python3_8)" 
[ebuild  N     ] dev-python/requests-2.21.0-r1  USE="ssl -socks5" PYTHON_TARGETS="python2_7 python3_6 (-pypy3) (-python3_7)" 
[ebuild  N     ] dev-python/ssl-fetch-0.4  PYTHON_TARGETS="python2_7 python3_6 (-python3_7) (-python3_8)" 
[ebuild  N     ] app-portage/layman-2.4.2-r1  USE="git gpg sync-plugin-portage -bazaar (-cvs) (-darcs) (-g-sorcery) -mercurial -sqlite -squashfs (-subversion) (-test)" PYTHON_TARGETS="python2_7 python3_6" 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.1.0l:0/1.1::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/openssl:0[-bindist(-)] required by (dev-python/cryptography-2.6.1-r1:0/0::gentoo, ebuild scheduled for merge)
                                                                                                                                           

  (dev-libs/openssl-1.1.1d-r2:0/1.1::gentoo, installed) pulled in by
    >=dev-libs/openssl-1.1.0g:0[bindist=] required by (net-misc/openssh-8.0_p1-r4:0/0::gentoo, installed)
                                ^^^^^^^^                                                                                                     


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following packages are causing rebuilds:

  (dev-lang/perl-5.30.1:0/5.30::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-perl/Class-Inspector-1.320.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Carp-1.500.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-ExtUtils-CBuilder-0.280.231:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Text-CharWidth-0.40.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Text-ParseWords-3.300.0-r5:0/0::gentoo, ebuild scheduled for merge)
    (app-text/po4a-0.47-r1:0/0::gentoo, ebuild scheduled for merge)
    (perl-core/File-Temp-0.230.900:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/TermReadKey-2.370.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Getopt-Long-2.500.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-File-Temp-0.230.900:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/libintl-perl-1.310.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Exporter-5.730.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Unicode-EastAsianWidth-1.330.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-ExtUtils-ParseXS-3.400.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Perl-OSType-1.10.0-r2:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-File-Spec-3.780.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Text-Unidecode-1.300.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Locale-gettext-1.70.0:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/File-ShareDir-Install-0.110.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-podlators-4.110.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Data-Dumper-2.174.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Parse-CPAN-Meta-2.150.10-r2:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Module-Build-0.422.400:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/SGMLSpm-1.1-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Module-Metadata-1.0.36:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-CPAN-Meta-2.150.10-r2:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-CPAN-Meta-YAML-0.18.0-r4:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-ExtUtils-Install-2.140.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-JSON-PP-4.20.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-version-0.992.400:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/Text-WrapI18N-0.60.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-ExtUtils-Manifest-1.720.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-Test-Harness-3.420.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/XML-Parser-2.440.0:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-IO-1.400.0:0/0::gentoo, ebuild scheduled for merge)
    (sys-apps/texinfo-6.6-r1:0/0::gentoo, ebuild scheduled for merge)
    (virtual/perl-ExtUtils-MakeMaker-7.340.0-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-perl/File-ShareDir-1.104.0:0/0::gentoo, ebuild scheduled for merge)

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-libs/openssl-1.1.0l ~arm64

Autounmask changes successfully written.

 * IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.
./prepare.sh: line 108: layman: command not found

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "pinebookpro-profile-overrides".

emerge: searching for similar names... nothing similar found.
installed pinebookpro-overlay
NOTE: to auto-update this overlay, you might have to edit /etc/portage/repos.conf/layman.conf
./prepare.sh: line 116: layman: command not found
installed musl overlay
don't forget to select a profile!
see eselect profile
(chroot) Debian-Desktop /var/tmp/gentoo-pinebookpro # 

I don't understood Gentoo well enough to debug this myself, so I need your help to understand what I'm doing wrong here.

Thanks
  Reply


Messages In This Thread
Gentoo on Pinebook Pro RELEASE - by jannik2099 - 01-13-2020, 10:47 AM
RE: Gentoo on Pinebook Pro RELEASE - by Arwen - 01-13-2020, 07:12 PM
RE: Gentoo on Pinebook Pro RELEASE - by delcaran - 01-15-2020, 11:20 AM
RE: Gentoo on Pinebook Pro RELEASE - by VoxUnius - 01-15-2020, 05:34 PM
RE: Gentoo on Pinebook Pro RELEASE - by VoxUnius - 01-18-2020, 05:13 PM
RE: Gentoo on Pinebook Pro RELEASE - by delcaran - 01-19-2020, 07:57 AM
RE: Gentoo on Pinebook Pro RELEASE - by delcaran - 01-21-2020, 12:34 AM
RE: Gentoo on Pinebook Pro RELEASE - by as400 - 01-21-2020, 01:55 AM
RE: Gentoo on Pinebook Pro RELEASE - by delcaran - 01-21-2020, 11:59 PM
RE: Gentoo on Pinebook Pro RELEASE - by delcaran - 01-23-2020, 01:31 AM
RE: Gentoo on Pinebook Pro RELEASE - by delcaran - 01-24-2020, 09:13 AM
RE: Gentoo on Pinebook Pro RELEASE - by Arwen - 01-29-2020, 07:38 PM
RE: Gentoo on Pinebook Pro RELEASE - by madalin - 02-01-2020, 11:00 AM
RE: Gentoo on Pinebook Pro RELEASE - by madalin - 02-02-2020, 09:44 AM
RE: Gentoo on Pinebook Pro RELEASE - by PakoSt - 02-04-2020, 09:59 AM
RE: Gentoo on Pinebook Pro RELEASE - by necrose99 - 02-12-2020, 05:59 PM
RE: Gentoo on Pinebook Pro RELEASE - by necrose99 - 02-15-2020, 07:45 PM
RE: Gentoo on Pinebook Pro RELEASE - by larsgn - 02-25-2020, 08:58 AM
Gentoo on Pinebook Pro RELEASE - by necrose99 - 03-01-2020, 10:05 AM
RE: Gentoo on Pinebook Pro RELEASE - by rjraymond - 09-18-2020, 11:06 PM
RE: Gentoo on Pinebook Pro RELEASE - by kuleszdl - 01-02-2021, 10:05 PM
RE: Gentoo on Pinebook Pro RELEASE - by wdt - 01-03-2021, 06:21 AM
RE: Gentoo on Pinebook Pro RELEASE - by alchemist - 06-08-2021, 12:45 PM
RE: Gentoo on Pinebook Pro RELEASE - by glesker - 10-05-2021, 08:16 AM
RE: Gentoo on Pinebook Pro RELEASE - by kebab - 11-26-2023, 06:36 PM
RE: Gentoo on Pinebook Pro RELEASE - by tllim - 12-08-2023, 11:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 1,066 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,624 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,163 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,237 12-11-2023, 03:47 AM
Last Post: calinb
  Boot Order in Pinebook Pro food 8 1,264 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,308 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,489 08-08-2023, 04:58 AM
Last Post: moobythegoldensock
  Install deepin OS on pinebook pro wangyukunshan 4 1,596 08-07-2023, 01:12 PM
Last Post: myself600
  Kali Linux for Pinebook Pro - stuck on the login screen owaspfap 0 667 07-13-2023, 05:21 PM
Last Post: owaspfap
  OpenCL on pinebook Pro Bram 2 997 06-30-2023, 08:50 PM
Last Post: scurrvy2020

Forum Jump:


Users browsing this thread: 3 Guest(s)