25 Commits

Author SHA1 Message Date
Andreas Müller
510508c16a Let all our images log volatile (not only xfce4-music-image)
should have done this much earlier:

* Don't ruin sd-cards on machines running 24/7
* On Raspi4 it buys us boot time reduced by ~2s
* Was never happy about the misleading entries in journal from boots long ago

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-05-10 13:23:13 +02:00
Andreas Müller
add8cea9aa console-net-image: add networkmanager-openvpn
In times of home-office users might want to tunnel to copmpany's network

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-18 18:20:26 +01:00
Andreas Müller
feb55c3052 instant-sysroot-target: move task copy_to_target_sysroot out of conflict zone
First results from scratch showed that previous commit did not work and set
copy_to_target_sysroot at a very early position beginning.

With default PACKAGE_CLASSES = "package_ipk" (no package_deb / package_rpm)
task order looks as expected without bb.utils.contains-dance

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit 549b52ed48)
2020-02-03 11:41:55 +01:00
Andreas Müller
d0ed2eca11 instant-sysroot-target: move task copy_to_target_sysroot out of conflict zone
Task copy_to_target_sysroot creates hardlinks and can run in parallell to e.g
package_ipk which causes sporadic failures as:

| Subprocess output:tar: ./usr/bin/.debug/guitarix: file changed as we read it
| ERROR: Logfile of failure stored in: <...>/temp/log.do_package_write_ipk.25489

There is not much we can do about host's tar
(see https://lists.gnu.org/archive/html/bug-tar/2007-08/msg00013.html) so
ensure copy_to_target_sysroot does not run parallel to package_deb /
package_ipk / package_rpm (depending on what PACKAGE_CLASSES sets).

Fixes [1]

[1] https://github.com/schnitzeltony/meta-mortsgna/issues/12

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit 0cf33d763e)
2020-02-03 11:41:29 +01:00
Andreas Müller
16e566b32a Upgrade DISTRO_VERSION
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-01-02 16:37:25 +01:00
Andreas Müller
bb5833ad59 libxfce4ui: give up glade for gtk2 support
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-12-10 18:10:29 +01:00
Andreas Müller
9883633e4f mortsgna-libc-musl: remove ldconfig from distro-features
| Nothing RPROVIDES 'ldconfig' (but openembedded-core/meta/recipes-core/systemd/systemd_243.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-12-08 15:38:37 +01:00
Andreas Müller
63d5a3b6ab libsoup: give up gnome PACKAGECONFIG
It is not necessary and cause me trouble upstreaming meta-gnome patches

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-12-08 01:43:56 +01:00
Andreas Müller
aa68922983 xfce4-default-config: rework terminal's defaults
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-11-26 15:10:16 +01:00
Andreas Müller
f90d639dfa Extend nodejs to full installation
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-11-26 15:10:04 +01:00
Andreas Müller
851fc4da51 allgui-full-/-dev-images: add nodejs
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-11-22 08:07:37 +01:00
Andreas Müller
a33b93ac66 Add developer packages to our full images
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-11-14 08:49:10 +01:00
Andreas Müller
598e4004a6 README.md: fix typo
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-11-13 19:25:10 +01:00
Andreas Müller
2442ec1ee0 update-recipe-checksums.sh: add optional -d param to set directory
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-18 00:59:34 +02:00
Andreas Müller
1b9960f253 Mark zeus as compatible release
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-10 00:18:39 +02:00
Andreas Müller
56b6d11605 scripts: prepare scipts to write bbone images based upon wic
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-09-19 12:43:58 +02:00
Andreas Müller
6553814e86 instant-sysroot-target.bbclass: Minor corrections on remote debug instructions
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-09-10 22:03:47 +02:00
Andreas Müller
1847519cf3 packagegroup-gui-tiny: remove eglinfo-x11 - it was removed in oe-core
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-09-08 01:11:31 +02:00
Andreas Müller
d4c5383948 packagegroup-xfce-extended: add imsettings
Maybe this should go to meta-xfce

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-09-03 00:41:34 +02:00
Andreas Müller
1760eea00f evolution-data-server: disable introspection
qemu runs with 100% CPU load and never returns

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-08-29 00:24:21 +02:00
Andreas Müller
84ad5be0a9 xfce4-settings: remove datetime-setter from PACKAGECONFIG
It is included automatically

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-08-12 08:42:28 +02:00
Andreas Müller
92bd1073c6 udisks_%.bbappend: remove - udisks is gone and we use udisks2 for ages
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-08-11 13:56:38 +02:00
Andreas Müller
fe42ec1128 xfce4-default-config: disable xfce4-screensaver
All my machines do not properly come back from black screen

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-06-04 13:35:09 +02:00
Andreas Müller
3ca852b598 Make src-uri-bad an error
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-26 02:34:43 +02:00
Andreas Müller
4801bf3cd5 libxfce4ui: build gtk3 variant of glade lib
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-05-21 23:31:25 +02:00
23 changed files with 47 additions and 50 deletions

View File

@@ -70,7 +70,7 @@ It has its origin Ångström distribution - check https://github.com/Angstrom-d
* All images for console / kde / lxqt / xfce ar found. allgui-images build
images for all graphical environments.
[recipes-utlis](recipes-utlis):
[recipes-utils](recipes-utils):
* udev-rules-udisks-hide-bootpart: Hide boot partition from udisks
* Some tools (these are the only left from angstrom). Honestly: Have never
used them but kept them if users come from angstrom and might miss

View File

@@ -0,0 +1 @@
PACKAGECONFIG_remove = "introspection"

View File

@@ -1,3 +0,0 @@
EXTRA_OECONF_append = " \
--with-libnm-gtk \
"

View File

@@ -1,12 +0,0 @@
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
}

View File

@@ -1 +0,0 @@
RRECOMMENDS_${PN} += "udev-rules-udisks-hide-bootpart"

View File

@@ -1 +1 @@
PACKAGECONFIG_append = " startup-notification gladeui"
PACKAGECONFIG_append = " startup-notification gladeui2"

View File

@@ -0,0 +1,3 @@
RRECOMMENDS_${PN} += " \
imsettings \
"

View File

@@ -1 +1 @@
PACKAGECONFIG_append = " datetime-setter sound-setter notify"
PACKAGECONFIG_append = " sound-setter notify"

View File

@@ -1 +0,0 @@
PACKAGECONFIG_append = " gnome"

View File

@@ -1,2 +0,0 @@
RRECOMMENDS_${PN}-sshd_remove_class-target = "rng-tools"

View File

@@ -1,2 +0,0 @@
# A root session without password activated by just two keys - honestly..
RRECOMMENDS_${PN}_remove = "weston-init"

View File

@@ -173,7 +173,7 @@ do_copy_to_target_sysroot() {
fi
}
addtask copy_to_target_sysroot after do_package before do_build
addtask copy_to_target_sysroot after do_package_write_deb do_package_write_ipk do_package_write_rpm before do_build
# same as do package
do_copy_to_target_sysroot[vardeps] = "${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}"

View File

@@ -4,6 +4,8 @@
# libc settings
DISTRO_FEATURES += "${@['', ' nls'][d.getVar('ENABLE_BINARY_LOCALE_GENERATION') == '1']}"
DISTRO_FEATURES_remove = "ldconfig"
USE_NLS_glib-2.0 = "yes"
USE_NLS_glib-2.0-native = "yes"
USE_NLS_gcc-cross = "no"

View File

@@ -10,7 +10,7 @@
###############################################################################
# follow Yocto version scheme
DISTRO_VERSION = "v2.7"
DISTRO_VERSION = "v3.0"
# 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
@@ -114,10 +114,8 @@ ENABLE_BINARY_LOCALE_GENERATION_ep9312 = "0"
ENABLE_BINARY_LOCALE_GENERATION_armeb = "0"
# 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
@@ -137,12 +135,11 @@ WARN_TO_ERROR_QA = " \
already-stripped compile-host-path install-host-path \
installed-vs-shipped ldflags pn-overrides rpaths staticdev \
unknown-configure-option useless-rpaths host-user-contaminated \
invalid-packageconfig patch-fuzz \
invalid-packageconfig patch-fuzz src-uri-bad \
"
WARN_QA_remove = "${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

View File

@@ -8,7 +8,7 @@ BBFILE_COLLECTIONS += "mortsgna-layer"
BBFILE_PATTERN_mortsgna-layer := "^${LAYERDIR}/"
BBFILE_PRIORITY_mortsgna-layer = "7"
LAYERSERIES_COMPAT_mortsgna-layer = "sumo thud warrior"
LAYERSERIES_COMPAT_mortsgna-layer = "sumo thud warrior zeus"
# 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
@@ -22,8 +22,6 @@ BBFILES_DYNAMIC += " \
\
multimedia-layer:${LAYERDIR}/appends/meta-multimedia/*.bbappend \
\
networking-layer:${LAYERDIR}/appends/meta-networking/*.bbappend \
\
openembedded-layer:${LAYERDIR}/appends/meta-oe/*.bbappend \
\
qt5-layer:${LAYERDIR}/appends/meta-qt5/*.bbappend \

View File

@@ -0,0 +1,3 @@
[Desktop Entry]
Hidden=true

View File

@@ -1,8 +1,10 @@
[Configuration]
ColorForeground=#ffffffffffff
ColorBackground=#000000000000
ColorCursor=#a0a0a0a0a0a0
FontName=Monospace 9
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBellUrgent=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
@@ -10,7 +12,6 @@ MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=FALSE
MiscMouseWheelZoom=TRUE
MiscToolbarDefault=TRUE
MiscConfirmClose=TRUE
MiscCycleTabs=TRUE
@@ -18,12 +19,5 @@ MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
MiscMiddleClickOpensUri=FALSE
MiscCopyOnSelect=FALSE
MiscDefaultWorkingDir=
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
ColorForeground=#000000000000
ColorBackground=#fae0f4f1a311
ScrollingLines=1000000

View File

@@ -13,6 +13,15 @@ IMAGE_INSTALL += " \
\
orage \
xfce4-orageclock-plugin \
\
pkgconfig binutils-symlinks elfutils gnu-config \
cmake meson \
gdbserver \
git git-bash-completion \
qt5-creator \
qwt-qt5 \
\
nodejs nodejs-npm nodejs-systemtap \
"
IMAGE_LINGUAS_libc-glibc = "${IMAGE_LINGUAS_FULL}"

View File

@@ -13,6 +13,7 @@ IMAGE_INSTALL += " \
systemd-analyze \
cpufrequtils \
htop \
fixmac \
util-linux-lsblk \
nano \
"

View File

@@ -32,6 +32,7 @@ RDEPENDS_${PN} = " \
man man-pages \
gawk \
chrpath \
nodejs nodejs-npm nodejs-systemtap \
\
wireshark \
nfs-utils-client \

View File

@@ -54,6 +54,7 @@ RDEPENDS_${PN} = " \
\
${@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', 'meta-qt5-extra', 'qmlarkdown', '', d)} \
"
# firefox

View File

@@ -20,5 +20,5 @@ RDEPENDS_${PN} = " \
gnome-system-monitor \
dconf-editor \
\
glmark2 mesa-demos eglinfo-x11 \
glmark2 mesa-demos \
"

View File

@@ -7,21 +7,29 @@
# This script updates checksums in recipes after version bump. It is supposed
# to run run in same environment as bitbake:
#
# update-recipe-checksums.sh <recipe>
# update-recipe-checksums.sh [-d <recipedir> <recipes>
#
# where <recipe> can be a single recipe, a packagegroup an image or...
# Includes
. `dirname $0`/include/common-helpers.inc
echo
if [ "$1" = "-d" ]; then
shift
_TOPDIR="$1"
echo -e "${style_bold}Use $1 as recipe directory...${style_normal}"
shift
else
echo -e "${style_bold}Ask bitbake for recipe directory...${style_normal}"
GetBitbakeEnvVar "TOPDIR"
_TOPDIR="$BitbakeEnvVar"
fi
if [ -z "$1" ]; then
ErrorOut "No fetch target set in first parameter!"
fi
# Ask bitbake for recipe directory
GetBitbakeEnvVar "TOPDIR"
_TOPDIR="$BitbakeEnvVar"
echo
echo -e "${style_bold}Run bitbake -k --runall=fetch $@...${style_normal}"