Compare commits
85 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5346b3baa8 | ||
|
|
903d753fc0 | ||
|
|
5e4b883bc2 | ||
|
|
7e3a5954e5 | ||
|
|
eca422e4a7 | ||
|
|
babc8fbe27 | ||
|
|
eb55623c66 | ||
|
|
c921e73d35 | ||
|
|
aa09cecd96 | ||
|
|
1d155d9d88 | ||
|
|
05a420b9d4 | ||
|
|
2c73bd74f9 | ||
|
|
4609be5aa2 | ||
|
|
2d846191c0 | ||
|
|
6ed688828b | ||
|
|
82ab133fda | ||
|
|
81f899aee6 | ||
|
|
fd2831e6fb | ||
|
|
a735f099a6 | ||
|
|
3f10ead336 | ||
|
|
85f4695cff | ||
|
|
ab38d6e19f | ||
|
|
7e73138dbb | ||
|
|
57d6439f6b | ||
|
|
9657f9bbfa | ||
|
|
723f54fb82 | ||
|
|
11764a3c93 | ||
|
|
fe7b051c0b | ||
|
|
c374bfe685 | ||
|
|
95189c7710 | ||
|
|
b67d620c97 | ||
|
|
c77b7e05cd | ||
|
|
a841a014c3 | ||
|
|
684f765d27 | ||
|
|
b2f57e0f17 | ||
|
|
ab5bf122e9 | ||
|
|
b4d2e1834d | ||
|
|
010614c7b9 | ||
|
|
d09afce6f8 | ||
|
|
9efa80d926 | ||
|
|
9a8ab2f035 | ||
|
|
7de041956a | ||
|
|
8dceec4bbb | ||
|
|
23ebf7f38f | ||
|
|
5ad14a2d73 | ||
|
|
51c94f5066 | ||
|
|
20ac15f967 | ||
|
|
98de75b63b | ||
|
|
769a0e0f32 | ||
|
|
a7ae6d978b | ||
|
|
4f7eb763c8 | ||
|
|
9fc26f7ba0 | ||
|
|
ed61a8799f | ||
|
|
9583c42495 | ||
|
|
202192d55a | ||
|
|
ef94f5cac4 | ||
|
|
0d0764b1a7 | ||
|
|
a321532a82 | ||
|
|
2afa50d1f0 | ||
|
|
590b8ca8bb | ||
|
|
e7a7e65c17 | ||
|
|
d916915ce3 | ||
|
|
e0ce02ae9c | ||
|
|
49bed45070 | ||
|
|
35a709c7e6 | ||
|
|
a16e65298a | ||
|
|
eaecabbc59 | ||
|
|
5f0aa504e4 | ||
|
|
0389e6a080 | ||
|
|
2eacce9896 | ||
|
|
48dfeb0ce2 | ||
|
|
e602738f22 | ||
|
|
0f00f37c8d | ||
|
|
3c4eb9919d | ||
|
|
5ee9a3271c | ||
|
|
21b2447183 | ||
|
|
6b4c68e8c4 | ||
|
|
ebd94e2afd | ||
|
|
0184428974 | ||
|
|
3161bf4239 | ||
|
|
7f2ea5ab33 | ||
|
|
565e1a19cd | ||
|
|
d3c9bdef55 | ||
|
|
aa892ad0fc | ||
|
|
635aadf003 |
28
README.md
28
README.md
@@ -87,7 +87,7 @@ It has its origin Ångström distribution - check https://github.com/Angstrom-d
|
|||||||
|
|
||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/openembedded-core
|
URI: git://git.openembedded.org/openembedded-core
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -95,14 +95,14 @@ revision: HEAD
|
|||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-oe
|
Layer: meta-oe
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-networking
|
Layer: meta-networking
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -111,40 +111,40 @@ revision: HEAD
|
|||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-gnome
|
Layer: meta-gnome
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-multimedia
|
Layer: meta-multimedia
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-python
|
Layer: meta-python
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-xfce
|
Layer: meta-xfce
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://github.com/meta-qt5/meta-qt5.git
|
URI: git://github.com/meta-qt5/meta-qt5.git
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://github.com/schnitzeltony/meta-qt5-extra.git
|
URI: git://github.com/schnitzeltony/meta-qt5-extra.git
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -153,7 +153,7 @@ revision: HEAD
|
|||||||
```
|
```
|
||||||
URI: git://git.openembedded.org/meta-openembedded
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
Layer: meta-initramfs
|
Layer: meta-initramfs
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -174,14 +174,15 @@ revision: HEAD
|
|||||||
#### To pretend work:
|
#### To pretend work:
|
||||||
```
|
```
|
||||||
URI: git://github.com/schnitzeltony/meta-office.git
|
URI: git://github.com/schnitzeltony/meta-office.git
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
#### To produce music:
|
#### To produce music:
|
||||||
|
|
||||||
```
|
```
|
||||||
URI: git://github.com/schnitzeltony/meta-qt5-extra.git
|
URI: git://github.com/schnitzeltony/meta-musicians.git
|
||||||
branch: thud
|
branch: master
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -227,4 +228,3 @@ Maintainers
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
Layer maintainer: Andreas Müller <schnitzeltony@gmail.com>
|
Layer maintainer: Andreas Müller <schnitzeltony@gmail.com>
|
||||||
|
|
||||||
|
|||||||
3
appends/meta-gnome/network-manager-applet_%.bbappend
Normal file
3
appends/meta-gnome/network-manager-applet_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
EXTRA_OECONF_append = " \
|
||||||
|
--with-libnm-gtk \
|
||||||
|
"
|
||||||
12
appends/meta-networking/networkmanager-openvpn_%.bbappend
Normal file
12
appends/meta-networking/networkmanager-openvpn_%.bbappend
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
PACKAGECONFIG_append = " gnome"
|
||||||
|
DEPENDS_append = " gtk+3 networkmanager network-manager-applet"
|
||||||
|
|
||||||
|
do_configure_append() {
|
||||||
|
# network-manager-openvpn.metainfo.xml is created in source folder but
|
||||||
|
# compile expects it in build folder. As long as nobody comes up with a
|
||||||
|
# better solution just support build:
|
||||||
|
if [ -e ${S}/appdata/network-manager-openvpn.metainfo.xml ]; then
|
||||||
|
mkdir -p ${B}/appdata
|
||||||
|
cp -f ${S}/appdata/network-manager-openvpn.metainfo.xml ${B}/appdata/
|
||||||
|
fi
|
||||||
|
}
|
||||||
3
appends/meta-qt5/vlc_%.bbappend
Normal file
3
appends/meta-qt5/vlc_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# VLC is not part of meta-qt5. We add append here so the append will work only
|
||||||
|
# in case meta-qt5 is in layers
|
||||||
|
PACKAGECONFIG_append = " qt5"
|
||||||
@@ -18,7 +18,7 @@ if [ -d /etc/profile.d ]; then
|
|||||||
unset i
|
unset i
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# locale fallback for UTF8
|
# set locale fallback - all our images contain en_US
|
||||||
if [ -z "$LANG" ]; then
|
if [ -z "$LANG" ]; then
|
||||||
LANG="en_US.utf8"
|
LANG="en_US.utf8"
|
||||||
export LANG
|
export LANG
|
||||||
|
|||||||
1
appends/oe-core/libsdl2_%.bbappend
Normal file
1
appends/oe-core/libsdl2_%.bbappend
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PACKAGECONFIG_append_class-target = " jack"
|
||||||
2
appends/oe-core/openssh_%.bbappend
Normal file
2
appends/oe-core/openssh_%.bbappend
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
RRECOMMENDS_${PN}-sshd_remove_class-target = "rng-tools"
|
||||||
|
|
||||||
1
appends/oe-core/pulseaudio_%.bbappend
Normal file
1
appends/oe-core/pulseaudio_%.bbappend
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PACKAGECONFIG_append = " jack"
|
||||||
2
appends/oe-core/weston%.bbappend
Normal file
2
appends/oe-core/weston%.bbappend
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# A root session without password activated by just two keys - honestly..
|
||||||
|
RRECOMMENDS_${PN}_remove = "weston-init"
|
||||||
@@ -38,10 +38,10 @@
|
|||||||
# 4. Set sysroot (see INSTANT_TARGET_PATH in instant-path.bbclass):
|
# 4. Set sysroot (see INSTANT_TARGET_PATH in instant-path.bbclass):
|
||||||
# ${TMPDIR}/sysroot-instant-target-${MACHINE_ARCH}
|
# ${TMPDIR}/sysroot-instant-target-${MACHINE_ARCH}
|
||||||
# 5. Select compilers (it is not necessary for debug but without QTCreator won't enable Kit) for C and C++ e.g:
|
# 5. Select compilers (it is not necessary for debug but without QTCreator won't enable Kit) for C and C++ e.g:
|
||||||
# C: '<TMDIR>/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gcc'
|
# C: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gcc'
|
||||||
# C++: '<TMDIR>/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-g++'
|
# C++: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-g++'
|
||||||
# 6. Select debugger e.g:
|
# 6. Select debugger e.g:
|
||||||
# GDB: '<TMDIR>/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gdb'
|
# GDB: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-gdb'
|
||||||
# 7. To avoid qtcreator stopping on certain signals Select 'Debugger' in left list and in
|
# 7. To avoid qtcreator stopping on certain signals Select 'Debugger' in left list and in
|
||||||
# * 'GDB'-tab unselect 'Show a message box when reciving a signal'
|
# * 'GDB'-tab unselect 'Show a message box when reciving a signal'
|
||||||
# * 'Locals & Expressions' add in 'Debugging Helper Customization' lines as
|
# * 'Locals & Expressions' add in 'Debugging Helper Customization' lines as
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
# running int breaks
|
# running int breaks
|
||||||
# 8. Select 'OK' in Options dialog -> 'Start Debugger' should be back on top
|
# 8. Select 'OK' in Options dialog -> 'Start Debugger' should be back on top
|
||||||
# * Make sure 'OE' Kit is selected
|
# * Make sure 'OE' Kit is selected
|
||||||
# * Browse for executable e.g '<TMDIR>/sysroot-instant-target/usr/bin/thunar'
|
# * Browse for executable e.g '${TMPDIR}/sysroot-instant-target-${MACHINE_ARCH}/usr/bin/thunar'
|
||||||
# * Set IP:Port of target machine e.g '192.168.2.108:5000'
|
# * Set IP:Port of target machine e.g '192.168.2.108:5000'
|
||||||
# * Select 'OK'
|
# * Select 'OK'
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# follow Yocto version scheme
|
# follow Yocto version scheme
|
||||||
DISTRO_VERSION = "v2.6"
|
DISTRO_VERSION = "v2.7"
|
||||||
|
|
||||||
# With Angstrom we had DISTRO_TYPE = "debug"/"release". No recipe except
|
# With Angstrom we had DISTRO_TYPE = "debug"/"release". No recipe except
|
||||||
# good old lxdm takes care (yes it was me). OE-Core way is setting
|
# good old lxdm takes care (yes it was me). OE-Core way is setting
|
||||||
@@ -114,8 +114,10 @@ ENABLE_BINARY_LOCALE_GENERATION_ep9312 = "0"
|
|||||||
ENABLE_BINARY_LOCALE_GENERATION_armeb = "0"
|
ENABLE_BINARY_LOCALE_GENERATION_armeb = "0"
|
||||||
|
|
||||||
# blacklist policy
|
# blacklist policy
|
||||||
PNBLACKLIST[pn-fso-apm] = "regular apmd is good enough"
|
PNBLACKLIST[pn-fso-apm] = "regular apmd is good enough"
|
||||||
|
|
||||||
|
# warrior specific - on master there might come times they do the right thing...
|
||||||
|
PNBLACKLIST[rng-tools] = "blocks shutdown and no issues found for openssl"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Quality & security hardening
|
# Quality & security hardening
|
||||||
@@ -135,11 +137,12 @@ WARN_TO_ERROR_QA = " \
|
|||||||
already-stripped compile-host-path install-host-path \
|
already-stripped compile-host-path install-host-path \
|
||||||
installed-vs-shipped ldflags pn-overrides rpaths staticdev \
|
installed-vs-shipped ldflags pn-overrides rpaths staticdev \
|
||||||
unknown-configure-option useless-rpaths host-user-contaminated \
|
unknown-configure-option useless-rpaths host-user-contaminated \
|
||||||
invalid-packageconfig \
|
invalid-packageconfig patch-fuzz \
|
||||||
"
|
"
|
||||||
WARN_QA_remove = "${WARN_TO_ERROR_QA}"
|
WARN_QA_remove = "${WARN_TO_ERROR_QA}"
|
||||||
ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
|
ERROR_QA_append = " ${WARN_TO_ERROR_QA}"
|
||||||
|
|
||||||
|
PNBLACKLIST[weston-init] = "A passwordless root session reachable by two keys - security???"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Image defaults
|
# Image defaults
|
||||||
@@ -166,6 +169,7 @@ DISTRO_GUI_USER ?= "unpriv-user"
|
|||||||
# DEBUG_APPS: ship strace and procpc to make simple debugging a lot easier
|
# DEBUG_APPS: ship strace and procpc to make simple debugging a lot easier
|
||||||
DISTRO_EXTRA_RRECOMMENDS += " \
|
DISTRO_EXTRA_RRECOMMENDS += " \
|
||||||
os-release \
|
os-release \
|
||||||
|
default-locale \
|
||||||
\
|
\
|
||||||
kernel-module-vfat \
|
kernel-module-vfat \
|
||||||
kernel-module-ext2 \
|
kernel-module-ext2 \
|
||||||
@@ -192,6 +196,7 @@ EXTRA_IMAGE_FEATURES += " \
|
|||||||
empty-root-password \
|
empty-root-password \
|
||||||
allow-empty-password \
|
allow-empty-password \
|
||||||
post-install-logging \
|
post-install-logging \
|
||||||
|
volatile-log \
|
||||||
"
|
"
|
||||||
|
|
||||||
# make x11-base a valid IMAGE_FEATURES
|
# make x11-base a valid IMAGE_FEATURES
|
||||||
@@ -219,7 +224,7 @@ IMAGE_BOOT ?= "${IMAGE_INITSCRIPTS} \
|
|||||||
IMAGE_INSTALL += "${IMAGE_BOOT}"
|
IMAGE_INSTALL += "${IMAGE_BOOT}"
|
||||||
|
|
||||||
# some default locales
|
# some default locales
|
||||||
IMAGE_LINGUAS ?= "de-de fr-fr en-gb en-us es-es it-it"
|
IMAGE_LINGUAS_libc-glibc ?= "de-de fr-fr en-us en-gb es-es it-it"
|
||||||
|
|
||||||
# there are important missing I bet
|
# there are important missing I bet
|
||||||
IMAGE_LINGUAS_FULL ?= " \
|
IMAGE_LINGUAS_FULL ?= " \
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "mortsgna-layer"
|
|||||||
BBFILE_PATTERN_mortsgna-layer := "^${LAYERDIR}/"
|
BBFILE_PATTERN_mortsgna-layer := "^${LAYERDIR}/"
|
||||||
BBFILE_PRIORITY_mortsgna-layer = "7"
|
BBFILE_PRIORITY_mortsgna-layer = "7"
|
||||||
|
|
||||||
LAYERSERIES_COMPAT_mortsgna-layer = "sumo thud"
|
LAYERSERIES_COMPAT_mortsgna-layer = "sumo thud warrior"
|
||||||
|
|
||||||
# This is a compromise: Because of dynamic appends it needs oe-core only. Our
|
# This is a compromise: Because of dynamic appends it needs oe-core only. Our
|
||||||
# images have a huge dependency list (see README). So the layers set here are
|
# images have a huge dependency list (see README). So the layers set here are
|
||||||
@@ -22,6 +22,8 @@ BBFILES_DYNAMIC += " \
|
|||||||
\
|
\
|
||||||
multimedia-layer:${LAYERDIR}/appends/meta-multimedia/*.bbappend \
|
multimedia-layer:${LAYERDIR}/appends/meta-multimedia/*.bbappend \
|
||||||
\
|
\
|
||||||
|
networking-layer:${LAYERDIR}/appends/meta-networking/*.bbappend \
|
||||||
|
\
|
||||||
openembedded-layer:${LAYERDIR}/appends/meta-oe/*.bbappend \
|
openembedded-layer:${LAYERDIR}/appends/meta-oe/*.bbappend \
|
||||||
\
|
\
|
||||||
qt5-layer:${LAYERDIR}/appends/meta-qt5/*.bbappend \
|
qt5-layer:${LAYERDIR}/appends/meta-qt5/*.bbappend \
|
||||||
|
|||||||
21
recipes-defaultconfig/locale/default-locale/locale.conf
Normal file
21
recipes-defaultconfig/locale/default-locale/locale.conf
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Since systemd 240 LANG="C.UTF-8" is set if no /etc/locale.conf
|
||||||
|
# is found and mentions that 'This locale is supported by various
|
||||||
|
# distributions' and 'upstream glibc is going to make it available too' [1].
|
||||||
|
#
|
||||||
|
# And oe-core makes situation worse by setting default locale to 'C' (although
|
||||||
|
# I aske for a change and was ignored as ususal [2]).
|
||||||
|
#
|
||||||
|
# [1] https://lists.freedesktop.org/archives/systemd-devel/2018-December/041852.html
|
||||||
|
# [2] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281327.html
|
||||||
|
#
|
||||||
|
# Neither default is working properly:
|
||||||
|
#
|
||||||
|
# * german Umlaute cannot be displayed anymore
|
||||||
|
# * at least menulibre does not start anymore and complains with
|
||||||
|
# | File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 390, in configure_application_actions
|
||||||
|
# | label=_('Add _Launcher<65><72><EFBFBD>'),
|
||||||
|
# | UnicodeDecodeError: 'locale' codec can't decode byte 0xe2 in position 13: decoding error
|
||||||
|
#
|
||||||
|
# so set locale default - all our images contain en_US
|
||||||
|
|
||||||
|
LANG="en_US.UTF-8"
|
||||||
16
recipes-defaultconfig/locale/default-locale_0.1.bb
Normal file
16
recipes-defaultconfig/locale/default-locale_0.1.bb
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
DESCRIPTION = "Set default locale"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
inherit allarch
|
||||||
|
|
||||||
|
SRC_URI = "file://locale.conf"
|
||||||
|
|
||||||
|
do_configure[noexec] = '1'
|
||||||
|
|
||||||
|
do_compile[noexec] = '1'
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
install -d ${D}${sysconfdir}
|
||||||
|
install -m 644 ${WORKDIR}/locale.conf ${D}${sysconfdir}/
|
||||||
|
}
|
||||||
@@ -16,14 +16,13 @@ IMAGE_INSTALL += " \
|
|||||||
packagegroup-xfce-base \
|
packagegroup-xfce-base \
|
||||||
network-manager-applet \
|
network-manager-applet \
|
||||||
xfce4-default-config \
|
xfce4-default-config \
|
||||||
vte \
|
|
||||||
\
|
\
|
||||||
packagegroup-lxqt-base \
|
packagegroup-lxqt-base \
|
||||||
lxqt-default-config \
|
lxqt-default-config \
|
||||||
\
|
\
|
||||||
liri-world \
|
liri-world \
|
||||||
\
|
\
|
||||||
lumina \
|
lumina-world \
|
||||||
\
|
\
|
||||||
weston weston-xwayland \
|
weston weston-xwayland \
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -15,4 +15,4 @@ IMAGE_INSTALL += " \
|
|||||||
xfce4-orageclock-plugin \
|
xfce4-orageclock-plugin \
|
||||||
"
|
"
|
||||||
|
|
||||||
IMAGE_LINGUAS = "${IMAGE_LINGUAS_FULL}"
|
IMAGE_LINGUAS_libc-glibc = "${IMAGE_LINGUAS_FULL}"
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ IMAGE_INSTALL += " \
|
|||||||
systemd-analyze \
|
systemd-analyze \
|
||||||
cpufrequtils \
|
cpufrequtils \
|
||||||
htop \
|
htop \
|
||||||
fixmac \
|
|
||||||
util-linux-lsblk \
|
util-linux-lsblk \
|
||||||
nano \
|
nano \
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ NETWORKPACKS ?= " \
|
|||||||
avahi-autoipd \
|
avahi-autoipd \
|
||||||
iputils \
|
iputils \
|
||||||
networkmanager \
|
networkmanager \
|
||||||
|
networkmanager-openvpn \
|
||||||
networkmanager-bash-completion \
|
networkmanager-bash-completion \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ IMAGE_INSTALL += " \
|
|||||||
packagegroup-gui-full \
|
packagegroup-gui-full \
|
||||||
"
|
"
|
||||||
|
|
||||||
IMAGE_LINGUAS = "${IMAGE_LINGUAS_FULL}"
|
IMAGE_LINGUAS_libc-glibc = "${IMAGE_LINGUAS_FULL}"
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ IMAGE_INSTALL += " \
|
|||||||
packagegroup-gui-full \
|
packagegroup-gui-full \
|
||||||
"
|
"
|
||||||
|
|
||||||
IMAGE_LINGUAS = "${IMAGE_LINGUAS_FULL}"
|
IMAGE_LINGUAS_libc-glibc = "${IMAGE_LINGUAS_FULL}"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ RDEPENDS_${PN} = " \
|
|||||||
qt5-creator \
|
qt5-creator \
|
||||||
qtquickcontrols2-examples qtwayland-examples \
|
qtquickcontrols2-examples qtwayland-examples \
|
||||||
hexedit \
|
hexedit \
|
||||||
glade3 \
|
glade3 glade \
|
||||||
umbrello \
|
umbrello \
|
||||||
lokalize \
|
lokalize \
|
||||||
geany-plugins \
|
geany-plugins \
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ MACHINE_SPECIFICS_FULL = ""
|
|||||||
MACHINE_SPECIFICS_FULL_mx6 = "gstreamer1.0-plugins-imx"
|
MACHINE_SPECIFICS_FULL_mx6 = "gstreamer1.0-plugins-imx"
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
RDEPENDS_${PN} = " \
|
||||||
packagegroup-gui-music \
|
|
||||||
\
|
|
||||||
source-han-sans-cn-fonts \
|
source-han-sans-cn-fonts \
|
||||||
source-han-sans-kr-fonts \
|
source-han-sans-kr-fonts \
|
||||||
source-han-sans-jp-fonts \
|
source-han-sans-jp-fonts \
|
||||||
@@ -30,6 +28,7 @@ RDEPENDS_${PN} = " \
|
|||||||
gparted \
|
gparted \
|
||||||
\
|
\
|
||||||
mpd \
|
mpd \
|
||||||
|
vlc \
|
||||||
parole gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-omx gstreamer1.0-libav \
|
parole gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-omx gstreamer1.0-libav \
|
||||||
dragon \
|
dragon \
|
||||||
gstreamer1.0-plugins-base-meta gstreamer1.0-plugins-good-meta \
|
gstreamer1.0-plugins-base-meta gstreamer1.0-plugins-good-meta \
|
||||||
@@ -50,9 +49,11 @@ RDEPENDS_${PN} = " \
|
|||||||
qskinny \
|
qskinny \
|
||||||
\
|
\
|
||||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-retro', 'mame dosbox z80 vice stella opentyrian d1x-rebirth', '', d)} \
|
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-retro', 'mame dosbox z80 vice stella opentyrian d1x-rebirth', '', d)} \
|
||||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'games-layer', 'pingus supertux2 freeciv wesnoth-all', '', d)} \
|
${@bb.utils.contains('BBFILE_COLLECTIONS', 'games-layer', 'pingus supertux2 freeciv wesnoth-all astromenace chromium-bsu maelstrom', '', d)} \
|
||||||
|
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-musicians', 'packagegroup-gui-musicians', '', d)} \
|
||||||
\
|
\
|
||||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'sdr-layer', 'packagegroup-sdr-python-extended packagegroup-sdr-gnuradio-base packagegroup-sdr-gnuradio-extended packagegroup-sdr-rtlsdr packagegroup-sdr-uhd', '', d)} \
|
${@bb.utils.contains('BBFILE_COLLECTIONS', 'sdr-layer', 'packagegroup-sdr-python-extended packagegroup-sdr-gnuradio-base packagegroup-sdr-gnuradio-extended packagegroup-sdr-rtlsdr packagegroup-sdr-uhd', '', d)} \
|
||||||
|
\
|
||||||
"
|
"
|
||||||
|
|
||||||
# firefox
|
# firefox
|
||||||
|
|||||||
@@ -1,15 +1,21 @@
|
|||||||
SUMMARY = "All packages required for a music image"
|
SUMMARY = "All packages required for musician image"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||||
|
|
||||||
inherit packagegroup
|
inherit packagegroup
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
RDEPENDS_${PN} = " \
|
||||||
meta-qt5-extra-music-world \
|
musicians-world \
|
||||||
|
mixxx \
|
||||||
|
qmmp \
|
||||||
alsa-utils alsa-utils-scripts \
|
alsa-utils alsa-utils-scripts \
|
||||||
jack-utils \
|
jack-utils \
|
||||||
pulseaudio-module-alsa-card \
|
pulseaudio-module-alsa-card \
|
||||||
|
pulseaudio-module-jack-sink \
|
||||||
|
pulseaudio-module-jack-source \
|
||||||
|
pulseaudio-module-jackdbus-detect \
|
||||||
sox \
|
sox \
|
||||||
a2jmidid \
|
a2jmidid \
|
||||||
fluidsynth-bin \
|
fluidsynth-bin \
|
||||||
|
xfce4-mixer \
|
||||||
"
|
"
|
||||||
@@ -15,7 +15,6 @@ RDEPENDS_${PN} = " \
|
|||||||
ntp ntp-utils \
|
ntp ntp-utils \
|
||||||
tzdata \
|
tzdata \
|
||||||
dnsmasq \
|
dnsmasq \
|
||||||
bind \
|
|
||||||
devilspie2 \
|
devilspie2 \
|
||||||
\
|
\
|
||||||
gnome-system-monitor \
|
gnome-system-monitor \
|
||||||
|
|||||||
@@ -9,9 +9,8 @@ IMAGE_INSTALL += " \
|
|||||||
${X11_BASE_INSTALL} \
|
${X11_BASE_INSTALL} \
|
||||||
${XFCE_DM} \
|
${XFCE_DM} \
|
||||||
\
|
\
|
||||||
packagegroup-gui-base \
|
|
||||||
packagegroup-xfce-base \
|
packagegroup-xfce-base \
|
||||||
vte \
|
packagegroup-gui-base \
|
||||||
\
|
\
|
||||||
network-manager-applet \
|
network-manager-applet \
|
||||||
xfce4-default-config \
|
xfce4-default-config \
|
||||||
|
|||||||
@@ -4,11 +4,8 @@ export IMAGE_BASENAME = "xfce4-music-image"
|
|||||||
|
|
||||||
XFCE_DM = "sddm sddm-morona-autologin"
|
XFCE_DM = "sddm sddm-morona-autologin"
|
||||||
|
|
||||||
# Saving to SDCard creates delays/underruns
|
|
||||||
IMAGE_FEATURES += "volatile-log"
|
|
||||||
|
|
||||||
IMAGE_INSTALL += " \
|
IMAGE_INSTALL += " \
|
||||||
packagegroup-gui-music \
|
packagegroup-gui-musicians \
|
||||||
\
|
\
|
||||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'office-layer', 'libreoffice', '', d)} \
|
${@bb.utils.contains('BBFILE_COLLECTIONS', 'office-layer', 'libreoffice', '', d)} \
|
||||||
${@bb.utils.contains('BBFILE_COLLECTIONS', 'browser-layer', 'chromium-x11', '', d)} \
|
${@bb.utils.contains('BBFILE_COLLECTIONS', 'browser-layer', 'chromium-x11', '', d)} \
|
||||||
|
|||||||
14
scripts/bbone-card-write.sh
Executable file
14
scripts/bbone-card-write.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# bbone-card-write.sh
|
||||||
|
# (c) Copyright 2019 Andreas Müller <schnitzeltony@gmail.com>
|
||||||
|
# Licensed under terms of GPLv2
|
||||||
|
#
|
||||||
|
# This script writes image to sdcard and aligns rootfs partition to max size.
|
||||||
|
|
||||||
|
# Includes
|
||||||
|
. `dirname $0`/include/common-helpers.inc
|
||||||
|
. `dirname $0`/include/card-helpers.inc
|
||||||
|
. `dirname $0`/include/machine-bbone.inc
|
||||||
|
|
||||||
|
StartCardWrite
|
||||||
75
scripts/include/machine-bbone.inc
Normal file
75
scripts/include/machine-bbone.inc
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# machine-bbone.inc
|
||||||
|
# (c) Copyright 2019 Andreas Müller <schnitzeltony@gmail.com>
|
||||||
|
# Licensed under terms of GPLv2
|
||||||
|
#
|
||||||
|
# This script contains settings and callbacks for TI beagle boards
|
||||||
|
|
||||||
|
# default settings
|
||||||
|
DEFAULT_MACHINE_FAMILY='*bone*'
|
||||||
|
DEFAULT_FIND_ROOTFS='-name *.wic -o -name *.wic.gz -type l'
|
||||||
|
DEFAULT_KERNEL_IMAGE_TYPE='zImage'
|
||||||
|
|
||||||
|
# callback for card-write
|
||||||
|
RootCardWriteCallback() {
|
||||||
|
# rootfs write/resize to card fit
|
||||||
|
time(
|
||||||
|
# evt. write partition table
|
||||||
|
CheckPartitionTable "$DevicePath"
|
||||||
|
# write
|
||||||
|
StartMessage="\nWrite $DeployedFile to $DevicePath..."
|
||||||
|
if echo $DeployedFile | grep -q '.wic.gz'; then
|
||||||
|
EvalExAuto "gunzip -c $DeployedFile | dd of=$DevicePath oflag=nocache bs=1024K" "$StartMessage"
|
||||||
|
elif echo $DeployedFile | grep -q '.wic.xz'; then
|
||||||
|
EvalExAuto "tar -x -f $DeployedFile --to-stdout | dd of=$DevicePath oflag=nocache bs=1024K" "$StartMessage"
|
||||||
|
else
|
||||||
|
EvalExAuto "dd of=$DevicePath oflag=nocache if=$DeployedFile bs=1024K" "$StartMessage"
|
||||||
|
fi
|
||||||
|
# resize I
|
||||||
|
EvalExAuto "parted -s $DevicePath -- resizepart 2 -0" "\nResize I ${DevicePath}2..."
|
||||||
|
# resize II
|
||||||
|
EvalExAuto "resize2fs ${DevicePath}2" "\nResize II ${DevicePath}2..."
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
# callback for card-kernel-write (WIP)
|
||||||
|
RootCardKernelWriteCallback() {
|
||||||
|
tmpdir=`mktemp -d`
|
||||||
|
|
||||||
|
# mount boot partition
|
||||||
|
EvalExAuto "mount ${DevicePath}1 $tmpdir" "\nMount boot partition ${DevicePath}1 to $tmpdir..."
|
||||||
|
# initial kernel
|
||||||
|
EvalExAuto "rm -f $tmpdir/${KernelImageType}*" "\nRemove old kernels..."
|
||||||
|
EvalExAuto "cp $DeployedFile $tmpdir/$KernelImageType" "\nCopy new kernel $KernelImageType..."
|
||||||
|
# devicetrees
|
||||||
|
EvalExAuto "rm -f $tmpdir/*.dtb" "\nRemove old devicetrees..."
|
||||||
|
echo
|
||||||
|
for dtb in `find ${DeployFileDir} -name "${KernelImageType}*.dtb" -type l`; do
|
||||||
|
dtbname=`basename $dtb | sed 's:'${KernelImageType}'-::'`
|
||||||
|
EvalExAuto "cp $dtb $tmpdir/${dtbname}" "Copy $dtb -> $tmpdir/${dtbname}..."
|
||||||
|
done
|
||||||
|
# unmount boot partition
|
||||||
|
EvalExAuto "sleep 1 && umount ${DevicePath}1" "\nUnmount boot partition..."
|
||||||
|
|
||||||
|
# mount rootfs
|
||||||
|
EvalExAuto "mount ${DevicePath}2 $tmpdir" "\nMount rootfs ${DevicePath}2 to $tmpdir..."
|
||||||
|
# rootfs/boot kernel
|
||||||
|
EvalExAuto "rm -f $tmpdir/boot/${KernelImageType}*" "\nRemove old kernels..."
|
||||||
|
EvalExAuto "cp $DeployedFile $tmpdir/boot/$KernelWithAbiName" "\nCopy new kernel to /boot/$KernelWithAbiName..."
|
||||||
|
EvalExAuto "ln -sf $KernelWithAbiName $tmpdir/boot/$KernelImageType" "\nLink kernel to /boot/$KernelImageType -> $KernelWithAbiName..."
|
||||||
|
# kernel modules
|
||||||
|
CopyKernelModules
|
||||||
|
RegisterKernelModules
|
||||||
|
# unmount rootfs
|
||||||
|
EvalExAuto "sleep 1 && umount ${DevicePath}2" "\nUnmount rootfs..."
|
||||||
|
|
||||||
|
rm -rf $tmpdir
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckPrerequisite "time"
|
||||||
|
CheckPrerequisite "gunzip"
|
||||||
|
CheckPrerequisite "tar"
|
||||||
|
CheckPrerequisite "dd"
|
||||||
|
CheckPrerequisite "parted"
|
||||||
|
CheckPrerequisite "resize2fs"
|
||||||
Reference in New Issue
Block a user