mortonP wrote:
With the upstream kernel support for the C2 nearing completion, I'm interested in a Gentoo image for my stack of C2s, as the "official" available Debian/Ubuntu LTS minimal/desktop images don't make me that happy.
I'm both exited and confused...

I use it as a home server, nextcloud (LAMP), postfix, dovecot, syncthing, emby (there's not enouh ram for that, but it works) and I have absolutely no problems using ACCEPT_KEYWORDS="*" , I find it is the perfect solution. It means I accept any stable ebuild, this means the stable for amd64 ....
This is my config, as you can see I use the stable amd64 without any particular problem, apart for java but it was easy to solve.
IMHO don't care about official support and just use gentoo amd64, mDup run a desktop using gentoo amd64 and it works. It's a 64 bit architecture after all, just like amd64.
make.conf
Code: Select all
CPU_FLAGS="-march=native -mabi=lp64 -mcpu=native -ftree-vectorize"
GRAPHITE_FLAGS="-floop-interchange -floop-strip-mine -floop-block -fgraphite-ide
ntity -ftree-loop-distribution -ftree-loop-linear"
LTO_FLAGS="-flto=3 -fuse-linker-plugin -fno-fat-lto-objects"
CFLAGS="-O2 -pipe -fomit-frame-pointer ${CPU_FLAGS} ${GRAPHITE_FLAGS} ${LTO_FLAG
S}"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O2 -Wl,--as-needed ${CFLAGS}"
AR=gcc-ar
NM=gcc-nm
RANLIB=gcc-ranlib
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing.
CHOST="aarch64-unknown-linux-gnu"
PORTDIR="/var/tmp/usr/portage"
DISTDIR="/var/tmp/usr/portage/distfiles"
PKGDIR="/var/tmp/usr/portage/packages"
VIDEO_CARDS="mali fbdev fbturbo"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
USE="arm64 alsa -X -gtk gpl"
MAKEOPTS="-j2"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="*"
PHP_TARGETS="php7-1"
source /var/lib/layman/make.conf
~
/etc/portage/profile/use.mask
Code: Select all
-mysql
-gnutls
-ieee1394
-samba
-schroedinger
-aac
-aacplus
-faac
-fuse
-java
-kerberos
-ldap
-ladspa
-mono
-mercurial
-musepack
-pkcs11
-sasl
-toolame
-vpx
-xfs
-xine
-zvbi
-x264
-x265
-bluray
-graphite
-dvb
-sqlite
-threads
-ip
-pulseaudio
-ipc
-upnp
/etc/portage/package.use.mask
Code: Select all
*/* -java
dev-lang/python -sqlite -threads
*/* -upnp -bs2b -doc -frei0r -gnutls -ieee1394 -samba -schroedinger -aac -aacplus -faac
/etc/portage/package.env
Code: Select all
=net-fs/samba-4.5.8 no-gold.conf
=sys-process/numactl-2.0.11 no-lto.conf
=media-tv/tvheadend-4.0.9 gcc6.conf
=dev-lang/python-3.4.5 no-lto.conf
=sys-apps/pciutils-3.4.1 no-lto.conf
=media-sound/pulseaudio-10.0 no-lto.conf
=sys-apps/man-db-2.7.6.1-r2 no-graphite.conf
sys-devel/gettext lm.conf
=sys-devel/gcc-5.4.0-r3 no-graphite.conf
=media-libs/flac-1.3.2-r1 no-graphite.conf
/etc/portage/package.accept_keywords
Code: Select all
# required by media-video/ffmpeg-2.8.6::gentoo[fdk]
# required by ffmpeg (argument)
=media-libs/fdk-aac-0.1.4-r1 **
dev-lang/php ~*
dev-php/pecl-redis **
dev-php/pecl-imagick **
=sys-devel/gcc-6.3.0 **
=sys-devel/gcc-5.4.0-r2 ~arm64
=sys-devel/binutils-2.27 **
=media-libs/libwebp-0.5.2 ~*
=sys-libs/readline-7.0_p1-r1 ~*
media-libs/x265 ~*
media-libs/x264 ~*
=media-tv/emby-server-3.1.2 **
dev-lang/mono ~*
=dev-dotnet/referenceassemblies-pcl-4.6 **
=dev-java/oracle-jdk-bin-1.8.0.111 ~arm64
=dev-java/oracle-jdk-bin-1.8.0.112 -*
media-tv/tvheadend ~*
=sys-block/thin-provisioning-tools-0.6.3 ~*
=virtual/imap-c-client-2 ~*
=dev-php/igbinary-2.0.1 ~*
net-fs/samba ~*
# required by sys-libs/ldb-1.1.29-r1::gentoo
# required by net-fs/samba-4.5.8::gentoo
# required by @selected
# required by @world (argument)
=sys-libs/talloc-2.1.9 ~*
# required by net-fs/samba-4.5.8::gentoo
# required by @selected
# required by @world (argument)
=sys-libs/ldb-1.1.29-r1 ~*
# required by net-fs/samba-4.5.8::gentoo
# required by @selected
# required by @world (argument)
=sys-libs/tevent-0.9.31-r1 ~*
# required by sys-libs/ldb-1.1.29-r1::gentoo
# required by net-fs/samba-4.5.8::gentoo
# required by @selected
# required by @world (argument)
=sys-libs/tdb-1.3.13 ~*
/etc/portage/package.use
Code: Select all
www-servers/apache ssl -debug -doc -ldap -libressl -selinux -static -suexec thre
ads apache2_modules_actions apache2_modules_xml2enc apache2_modules_alias apache
2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apac
he2_modules_authn_core apache2_modules_authn_dbm apache2_modules_authn_file apac
he2_modules_authz_core apache2_modules_authz_dbm apache2_modules_authz_groupfile
apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_us
er apache2_modules_autoindex apache2_modules_cache -apache2_modules_cgi -apache2
_modules_cgid -apache2_modules_dav -apache2_modules_dav_fs -apache2_modules_dav_
lock apache2_modules_deflate apache2_modules_dir apache2_modules_env apache2_mod
ules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modul
es_filter apache2_modules_headers apache2_modules_include apache2_modules_info a
pache2_modules_log_config apache2_modules_logio apache2_modules_mime apache2_mod
ules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modu
les_setenvif apache2_modules_socache_shmcb apache2_modules_speling apache2_modul
es_status apache2_modules_unique_id apache2_modules_unixd apache2_modules_userdi
r apache2_modules_usertrack apache2_modules_vhost_alias -apache2_modules_access_
compat -apache2_modules_asis -apache2_modules_auth_digest -apache2_modules_authn
_dbd -apache2_modules_authz_dbd apache2_modules_cache_disk apache2_modules_cache
_socache -apache2_modules_cern_meta -apache2_modules_charset_lite -apache2_modul
es_dbd -apache2_modules_dumpio apache2_modules_http2 -apache2_modules_ident -apa
che2_modules_imagemap -apache2_modules_lbmethod_bybusyness -apache2_modules_lbme
thod_byrequests -apache2_modules_lbmethod_bytraffic -apache2_modules_lbmethod_he
artbeat -apache2_modules_log_forensic -apache2_modules_macro apache2_modules_pro
xy -apache2_modules_proxy_ajp -apache2_modules_proxy_balancer -apache2_modules_p
roxy_connect apache2_modules_proxy_fcgi -apache2_modules_proxy_ftp apache2_modul
es_proxy_html apache2_modules_proxy_http -apache2_modules_proxy_scgi -apache2_mo
dules_proxy_wstunnel -apache2_modules_ratelimit -apache2_modules_remoteip -apach
e2_modules_reqtimeout -apache2_modules_slotmem_shm -apache2_modules_substitute -
apache2_modules_version apache2_mpms_event -apache2_mpms_prefork -apache2_mpms_w
orker
dev-lang/php acl berkdb bzip2 cli crypt ctype fileinfo filter gdbm hash mysqli i
conv ipv6 json nls opcache phar posix readline session simplexml ssl tokenizer u
nicode xml zlib -apache2 bcmath calendar cdb -cgi -cjk -coverage curl -debug -em
bed enchant exif flatfile fpm ftp gd gmp imap inifile intl iodbc -ldap-sasl -li
bedit -libressl mhash mysql odbc pcntl pdo -phpdbg -postgres -qdbm -recode -shar
edmem -snmp soap sockets spell sqlite -sysvipc threads tidy truetype wddx webp x
mlreader xmlrpc xmlwriter -xpm xslt zip
dev-lang/python sqlite
app-eselect/eselect-php apache2 fpm
dev-libs/apr-util -berkdb gdbm -freetds -nss -odbc openssl -postgres -sqlite -s
tatic-libs
# required by dev-php/pecl-imagick (argument)
media-gfx/imagemagick bzip2 cxx zlib -X -corefonts -djvu -fftw fontconfig -fpx -
graphviz -hdri jbig jpeg jpeg2k lcms -lqr -lzma -opencl -openexr -openmp -pango
-perl png postscript -q32 -q64 q8 -raw -static-libs svg tiff truetype webp -wmf -xml
media-tv/tvheadend cwc dvbscan timeshift zlib -capmt -constcw -dbus dvb -ffmpeg -hdhomerun imagecache inotify iptv libav satip uriparser xmltv -zeroconf
media-tv/xmltv -ar -ch_search -dk -dtvla -es_laguiatv -eu_dotmedia -eu_egon -eu_epg -fi -fi_sv -fr -fr_kazer -hr -huro -il -is it -na_dd -na_dtv -na_tvmedia -nl -no_gf -pt -pt_meo -sd_json -se_swedb -se_tvzon -tr -tv_check tv_combiner -tv_pick_cgi -uk_atlas -uk_bleb -uk_rt -uk_tvguide
media-tv/linuxtv-dvb-apps -alevt -test usb
media-video/ffmpeg alsa -armvfp bluray bzip2 encode fontconfig gpl hardcoded-tables iconv jpeg2k libass librtmp libsoxr lzma modplug mp3 -neon network opus postproc pulseaudio theora threads truetype twolame vorbis vpx wavpack webp x264 x265 xvid zlib -X -altivec -amr -amrenc -armv5te -armv6 -armv6t2 -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -fdk -flite -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -kvazaar -ladspa -libcaca -libilbc -libv4l -mipsdspr1 -mipsdspr2 -mipsfpu -mmal -nvenc -openal -opengl -openh264 -openssl -oss -pic rubberband -samba -schroedinger -sdl -snappy -speex -ssh -static-libs -test -v4l -vaapi -vdpau -xcb -zimg -zvbi
>=media-plugins/alsa-plugins-1.1.1 pulseaudio
sys-devel/gcc cxx fortran multilib nls nptl openmp pch sanitize vtv -altivec -awt -cilk -debug -doc -fixed-point -gcj -go graphite -hardened -jit -libssp -mpx -objc -objc++ -objc-gc -pie -regression-test -ssp -vanilla
# required by sys-libs/ldb-1.1.26::gentoo
# required by net-fs/samba-4.2.14::gentoo
# required by media-video/ffmpeg-2.8.6::gentoo[samba]
# required by ffmpeg (argument)
>=sys-libs/tevent-0.9.28 python
# required by net-fs/samba-4.2.14::gentoo
# required by media-video/ffmpeg-2.8.6::gentoo[samba]
# required by ffmpeg (argument)
>=sys-libs/ntdb-1.0-r1 python
# required by sys-libs/ldb-1.1.26::gentoo
# required by net-fs/samba-4.2.14::gentoo
# required by media-video/ffmpeg-2.8.6::gentoo[samba]
# required by ffmpeg (argument)
>=sys-libs/tdb-1.3.8 python
net-dns/bind berkdb caps ipv6 ssl threads dlz -doc -fetchlimit -filter-aaaa -fixed-rrset -geoip -gost -gssapi idn -json -ldap -libressl -mysql nslint -odbc -postgres -python -rpz -seccomp -selinux -sit -static-libs -urandom -xml
dev-lang/mono minimal
dev-java/oracle-jdk-bin alsa fontconfig headless-awt -cups -derby -doc -examples -javafx -jce -nsplugin -pax_kernel -selinux -source
dev-java/icedtea alsa cups jbootstrap pch source sunec webstart -cacao -doc -examples -gtk headless-awt -infinality -jamvm -kerberos -libressl -nsplugin -pax_kernel -pulseaudio -sctp -selinux -shenandoah -smartcard -test -zero
media-libs/leptonica zlib gif jpeg jpeg2k png -static-libs -test tiff -utils -webp
app-text/tesseract -doc -examples jpeg math -opencl osd png -scrollview -static-libs tiff training -webp l10n_it
net-fs/samba acl pam system-mitkrb5 -addc -addns -ads aio avahi client -cluster -cups -dmapi fam -gnutls -iprint -ldap -quota -selinux syslog -systemd -test -winbind
net-mail/dovecot bzip2 ipv6 maildir pam ssl tcpd zlib -caps -cydir -doc -imapc -kerberos -ldap -libressl -lucene -lz4 -lzma managesieve mbox -mdbox -mysql -pop3c -postgres -sdbox -selinux sieve solr -sqlite -static-libs -suid textcat -vpopmail
mail-mta/postfix berkdb eai pam ssl -cdb -doc dovecot-sasl -hardened -ldap -ldap-bind -libressl -lmdb -mbox -memcached -mysql -nis -postgres -sasl -selinux -sqlite
sys-apps/lm_sensors sensord
net-wireless/bluez obex readline udev -cups -debug -deprecated -doc -experimental extra-tools -selinux -systemd -test -test-programs
app-emulation/docker device-mapper seccomp -apparmor -aufs -btrfs -experimental overlay
>=sys-libs/libseccomp-2.3.0 static-libs
app-text/poppler cxx introspection jpeg jpeg2k lcms utils -cairo -cairo-qt -cjk curl -debug -doc -nss png -qt4 -qt5 tiff
dev-libs/openssl asm sslv3 tls-heartbeat zlib -bindist gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs -test -vanilla
dev-php/pecl-redis session igbinary
net-dns/avahi gdbm introspection ipv6 nls -autoipd -bookmarks -dbus -doc -gtk -gtk3 -howl-compat -mdnsresponder-compat -mono -python -qt4 -selinux -test -utils
media-sound/mpd alsa bzip2 curl eventfd ffmpeg fifo glib icu id3tag inotify ipv6 mad network signalfd tcpd unicode zlib -adplug ao audiofile cdio -debug expat faad flac -fluidsynth -gme -jack lame -libav -libmpdclient libsamplerate libsoxr -mikmod -mms -modplug mpg123 -musepack nfs ogg -openal opus -oss -pipe -pulseaudio -recorder -samba (-selinux) (-sid) sndfile soundcloud -sqlite -systemd -twolame upnp vorbis -wavpack -wildmidi -zeroconf zip
>=media-libs/flac-1.3.2-r1 ogg