summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-05-10 19:00:09 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-05-10 19:41:37 +0100
commitd15298d57100124add102e82ae0d3de06192b2ef (patch)
treef8384612ffd7af5a1b6dc424f192130fc7957ed9 /profiles
parentprofiles/common: resolve net-dns/bind-tools idn USE flags (diff)
downloadportage-d15298d57100124add102e82ae0d3de06192b2ef.tar.xz
profiles: add raspberry-pi/3b+
Diffstat (limited to 'profiles')
-rw-r--r--profiles/profiles.desc1
-rw-r--r--profiles/raspberry-pi/3b+/eapi1
-rw-r--r--profiles/raspberry-pi/3b+/make.defaults5
-rw-r--r--profiles/raspberry-pi/3b+/package.accept_keywords24
-rw-r--r--profiles/raspberry-pi/3b+/parent3
-rw-r--r--profiles/raspberry-pi/eapi1
-rw-r--r--profiles/raspberry-pi/make.defaults4
-rw-r--r--profiles/raspberry-pi/package.accept_keywords1
-rw-r--r--profiles/raspberry-pi/package.use2
-rw-r--r--profiles/raspberry-pi/packages15
-rw-r--r--profiles/raspberry-pi/parent1
11 files changed, 58 insertions, 0 deletions
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 1013344d..6997f17c 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -31,6 +31,7 @@ amd64 server/ovh/kimsufi/8G stable
amd64 server/ovh/kimsufi/500G stable
amd64 server/kvm/amd64 stable
arm server/scaleway/C1 stable
+arm64 raspberry-pi/3b+ stable
# Enlightenment profiles
x86 enlightenment/build/native/i686-pc-linux-gnu stable
diff --git a/profiles/raspberry-pi/3b+/eapi b/profiles/raspberry-pi/3b+/eapi
new file mode 100644
index 00000000..7ed6ff82
--- /dev/null
+++ b/profiles/raspberry-pi/3b+/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/raspberry-pi/3b+/make.defaults b/profiles/raspberry-pi/3b+/make.defaults
new file mode 100644
index 00000000..e4ee23b3
--- /dev/null
+++ b/profiles/raspberry-pi/3b+/make.defaults
@@ -0,0 +1,5 @@
+CHOST="aarch64-unknown-linux-gnu"
+CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
+CXXFLAGS="${CFLAGS}"
+
+MAKEOPTS="-j2"
diff --git a/profiles/raspberry-pi/3b+/package.accept_keywords b/profiles/raspberry-pi/3b+/package.accept_keywords
new file mode 100644
index 00000000..616518ec
--- /dev/null
+++ b/profiles/raspberry-pi/3b+/package.accept_keywords
@@ -0,0 +1,24 @@
+# https://bugs.gentoo.org/685400
+=mail-mta/exim-4.92 **
+
+# https://bugs.gentoo.org/685402
+=sys-apps/lshw-02.18b-r1 **
+
+# https://bugs.gentoo.org/685414
+virtual/logger ~arm64
+
+app-emulation/containerd ~arm64
+app-emulation/docker ~arm64
+app-emulation/docker-proxy ~arm64
+app-emulation/runc ~arm64
+dev-go/go-md2man ~arm64
+dev-lang/go ~arm64
+dev-perl/XML-XPath ~arm64
+net-analyzer/tcpdump ~arm64
+net-misc/connman ~arm64
+sys-apps/lm_sensors ~arm64
+sys-apps/rng-tools ~arm64
+sys-fs/f2fs-tools ~arm64
+sys-fs/sysfsutils ~arm64
+sys-process/audit ~arm64
+sys-process/tini ~arm64
diff --git a/profiles/raspberry-pi/3b+/parent b/profiles/raspberry-pi/3b+/parent
new file mode 100644
index 00000000..e8a5daf6
--- /dev/null
+++ b/profiles/raspberry-pi/3b+/parent
@@ -0,0 +1,3 @@
+gentoo:default/linux/arm64/17.0
+gentoo:features/hardened
+..
diff --git a/profiles/raspberry-pi/eapi b/profiles/raspberry-pi/eapi
new file mode 100644
index 00000000..7ed6ff82
--- /dev/null
+++ b/profiles/raspberry-pi/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/raspberry-pi/make.defaults b/profiles/raspberry-pi/make.defaults
new file mode 100644
index 00000000..569c37c0
--- /dev/null
+++ b/profiles/raspberry-pi/make.defaults
@@ -0,0 +1,4 @@
+FEATURES="noinfo noman nodoc"
+USE="systemd -doc -man"
+
+EXTRA_KERNEL_PATCHES=raspberrypi
diff --git a/profiles/raspberry-pi/package.accept_keywords b/profiles/raspberry-pi/package.accept_keywords
new file mode 100644
index 00000000..da6a759b
--- /dev/null
+++ b/profiles/raspberry-pi/package.accept_keywords
@@ -0,0 +1 @@
+=sys-boot/raspberrypi-firmware-1.20190215 **
diff --git a/profiles/raspberry-pi/package.use b/profiles/raspberry-pi/package.use
new file mode 100644
index 00000000..65eeb1c9
--- /dev/null
+++ b/profiles/raspberry-pi/package.use
@@ -0,0 +1,2 @@
+sys-apps/systemd -lz4 -lzma elfutils
+dev-lang/go system-bootstrap
diff --git a/profiles/raspberry-pi/packages b/profiles/raspberry-pi/packages
new file mode 100644
index 00000000..53dac67a
--- /dev/null
+++ b/profiles/raspberry-pi/packages
@@ -0,0 +1,15 @@
+*net-misc/connman
+*sys-apps/lm_sensors
+*sys-apps/rng-tools
+*sys-boot/raspberrypi-firmware
+*sys-fs/dosfstools
+*sys-fs/f2fs-tools
+*sys-process/audit
+
+-*net-analyzer/net-snmp
+-*net-misc/wget
+-*sys-apps/man
+-*sys-apps/man-pages
+-*sys-apps/pv
+-*sys-boot/grub
+-*virtual/man
diff --git a/profiles/raspberry-pi/parent b/profiles/raspberry-pi/parent
new file mode 100644
index 00000000..4b4997b8
--- /dev/null
+++ b/profiles/raspberry-pi/parent
@@ -0,0 +1 @@
+../common