45 Commits

Author SHA1 Message Date
Andreas Müller
19f40f2e85 Card write all supported machines: Show progress
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-05-06 10:28:37 +02:00
Andreas Müller
40e25d1bbf card-helpers.inc: avoid incorrect size calculations
This popped up when setting BITBAKE_TMPDIR

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-03-29 14:09:53 +02:00
Andreas Müller
afec76bcbf card-helpers.inc: Don't ask bitbake for BITBAKE_TMPDIR if BITBAKE_TMPDIR is set
We need this when running bitbake in container

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-03-29 10:48:59 +02:00
Andreas Müller
140f8964b5 card-helpers.inc: rename _TMPDIR to BITBAKE_TMPDIR
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-03-29 09:45:45 +02:00
Andreas Müller
9d2b8fac1c card-helpers.inc: Show more proper sizes
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-03-29 09:41:13 +02:00
Andreas Müller
e195b4c240 packagegroup-gui-dev: add ruby
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit 0d1b428b13)
2021-05-13 16:04:43 +02:00
Andreas Müller
71e3a79ae8 raspi-image-test-and-setup: remove some lines unused or not recommended
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit 13972e1d85)
2021-05-04 23:16:49 +02:00
Andreas Müller
8f0507a33b udev-rules-udisks-hide-bootpart: Follow boot partition rename in meta-raspi-light
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit e10a176f88)
2021-05-04 23:16:34 +02:00
Andreas Müller
90e296a3f7 card-helpers: Add hint for tired users running non matching card-write scripts
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit 715ae745b6)
2021-05-04 23:14:42 +02:00
Andreas Müller
91e5d6c313 Get chromium-x11 back into our images after meta-browser layer split
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
(cherry picked from commit af1911a492)
2021-05-04 23:14:25 +02:00
Andreas Müller
71d64d3d6c Add hardknott to compatible revisions
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-04-05 00:19:43 +02:00
Andreas Müller
3d10fec376 packagegroup-core-x11-xserver: ensure xf86-video-modesetting is installed
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-03-27 00:05:32 +01:00
Andreas Müller
79a33e3e52 Avoid xf86-input-evdev we want xf86-input-libinput
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-02-28 20:05:36 +01:00
Andreas Müller
7242634678 cmake-native / qtbase-native: Avoid native-last warning
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-02-02 09:00:44 +01:00
Andreas Müller
663451f0c4 packagegroup-gui-dev: add pulseview & qtiohelper
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-30 13:32:30 +01:00
Andreas Müller
5d520237d6 packagegroup-gui-dev: add libgomp-dev & libeigen-dev
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-19 03:19:39 +01:00
Andreas Müller
51aadaaaa5 packagegroup-gui-dev: remove python2 / gtk2 packs
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-19 03:15:47 +01:00
Andreas Müller
f38fc04e8c packagegroup-gui-full: add spectral
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-11 07:52:44 +01:00
Andreas Müller
5923824466 packagegroup-gui-full: add quaternion
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-10 20:56:26 +01:00
Andreas Müller
d293ed475f dev-images: remove exo-csource
With xfce 4.16 exo-csource is gone (and we never used it anyway..)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-03 20:51:05 +01:00
Andreas Müller
d69e4f1315 packagegroup-gui-dev: replace single packs by meta-microcontroller-world
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2021-01-02 20:55:42 +01:00
Andreas Müller
03d406a2d0 packagegroup-gui-full: add cage in case meta-retro is in
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-12-15 23:41:17 +01:00
Andreas Müller
372b4c1003 console-base-image: add rsync and full wget
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-12-15 23:40:37 +01:00
Andreas Müller
ec65d92154 base-files: no need create /etc/hostname - oe-core takes care
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-11-25 00:03:46 +01:00
Andreas Müller
ef4bdb0676 mortsgna.conf: Enable hardened security flags
Finally found time to get all the layers under my hood build with hardened
security flags.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-11-17 02:32:41 +01:00
Andreas Müller
a7807559ba packagegroup-gui-full: add gnome-disk-utility
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-11-11 23:15:04 +01:00
Andreas Müller
d24a00df42 gnome-disk-utility: steal from meta-gnome
gnome-disk-utility was applied after dunfell but it is vaery useful when
working with image files.

As soon as we are not compatible with master any more and create dunfell (and
gatesgarth) branches this should go again from master - hope I'll remember...

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-11-11 23:09:29 +01:00
Andreas Müller
931ffeb523 xfce4-default-config: add ardour6 to whiskermenu favorites
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-11-07 23:36:11 +01:00
Andreas Müller
e5f9d491ff console-base-image: add findutils
busybox's find is missing important parameters

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-11-04 15:35:57 +01:00
Andreas Müller
b173db7096 Now that scummvm is fixed, move it to packagegroup-gui-full
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-25 20:30:57 +01:00
Andreas Müller
024e5c8772 Add first & second boot checklist for raspi
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-19 18:13:31 +02:00
Andreas Müller
32e2fc92d4 packagegroup-gui-full: add dosbox-x
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-17 02:01:56 +02:00
Andreas Müller
1820b786fa Adjust LAYERSERIES_COMPAT
* remove zeus: We have a zeus branch
* add gatesgarth

And yes we are still dunfell compatible

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-15 19:19:06 +02:00
Andreas Müller
f80b6ad435 packagegroup-gui-dev: add kicad
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-14 14:54:29 +02:00
Andreas Müller
00c0f6fc66 packagegroup-gui-full: Add ttf-noto-emoji fonts
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-10 22:08:02 +02:00
Andreas Müller
0411624070 instant-sysroot-native.bbclass: append space in do_populate_sysroot[postfuncs]
Wouldn't expect this necessary but other do_populate_sysroot[postfuncs] do
append space. So since this change won't cause any trouble if not necessary
do same.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-10-10 22:04:48 +02:00
Andreas Müller
8257c45c9a Move supertuxkart into out standard build
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-09 23:55:51 +02:00
Andreas Müller
f02e4cfd6e xfce4-music-dev-image: initial add
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-05 23:55:03 +02:00
Andreas Müller
a8d75f0391 packagegroup-gui-dev: add valgrind
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-09-05 21:32:24 +02:00
Andreas Müller
488534e5b0 dnsmasq: do not start service automatically to fix networkmanager hotspot
Networkmanager is our first choice for all images. If it sets up a hotspot it
starts dnsmasq and configures it. This breaks if dnsmasq is running as service
and set-up by (default-) configuration:

| dnsmasq-dhcp[361]: no address range available for DHCP request via wlan0

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-08-31 20:15:53 +02:00
Andreas Müller
e010cfc0b1 xfce4-sensors-plugin: Set default update intervall downto 1s
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-08-22 23:57:39 +02:00
Andreas Müller
87ba258871 qtbase: Support extra-cmake-modules on target by shipping qmake-qt5 link
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-08-12 08:35:36 +02:00
Andreas Müller
13f585eebe packagegroup-gui-dev: add qtwebengine-dev/extra-cmake-modules
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-08-12 01:10:17 +02:00
Andreas Müller
db0fc7f7fb packagegroup-gui-dev: add git-perltools
Could not run 'git add -p'

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-28 21:00:44 +02:00
Andreas Müller
bea7d9d00a Blacklist packagegroup-core-x11 & server-nodm-init
Get notification once things sneak in that break/blow up more our images

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-24 22:39:46 +02:00
27 changed files with 209 additions and 46 deletions

3
TODO
View File

@@ -1,8 +1,5 @@
These are tasks are planned:
OE:
* Introduce security_flags.inc
Scripts:
* get rid of bashisms
* dialog -> ncurses?

View File

@@ -0,0 +1,5 @@
# In our environment dnsmasq is used by networkmanager only. That takes care
# of all the configuration parameters necessary. Unfortunately this is broken
# by dnsmasq running as service: It is set-up by configuration files and that
# are not matching networkmanagers's needs.
SYSTEMD_AUTO_ENABLE_${PN} = "disable"

View File

@@ -1 +1,3 @@
inherit instant-sysroot-native
INSANE_SKIP += "native-last"

View File

@@ -7,6 +7,11 @@ PACKAGECONFIG_DISTRO += " \
inherit instant-paths
do_install_append() {
# at least KDE's extra-cmake-modules expect qmake-qt5
ln -s qmake ${D}/${bindir}/qmake-qt5
}
do_copy_to_target_sysroot_append() {
# ---------- qt.conf ----------
# create

View File

@@ -3,8 +3,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
BASEFILESISSUEINSTALL = "do_install_mortsgnaissue"
do_install_mortsgnaissue () {
echo ${MACHINE} > ${D}${sysconfdir}/hostname
install -m 644 ${WORKDIR}/issue* ${D}${sysconfdir}
if [ -n "${DISTRO_NAME}" ]; then
echo -n "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue

View File

@@ -1 +1,3 @@
inherit instant-sysroot-native
INSANE_SKIP += "native-last"

View File

@@ -0,0 +1,5 @@
# we want xf86-input-libinput and some BSP layers exceed their allowed limits :(
XSERVER_remove = " xf86-input-evdev "
# at least for test add xserver's standard xf86-video-modesetting
XSERVER_append = " xf86-video-modesetting"

View File

@@ -16,7 +16,7 @@ instant_sysroot_copy () {
hardlinkdir ${RECIPE_SYSROOT_NATIVE} ${INSTANT_NATIVE_PATH}
}
do_populate_sysroot[postfuncs] += "${INSTANTPOPULATE}"
do_populate_sysroot[postfuncs] += "${INSTANTPOPULATE} "
INSTANTPOPULATE = ""
INSTANTPOPULATE_class-native = "instant_populate_sysroot"
INSTANTPOPULATE_class-cross = "instant_populate_sysroot"

View File

@@ -114,15 +114,16 @@ 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"
PNBLACKLIST[weston-init] = "A passwordless root session reachable by two keys - security???"
PNBLACKLIST[packagegroup-core-x11] = "Conflicts with mortsgna-images"
PNBLACKLIST[xserver-nodm-init] = "Mortsgna-images use graphical display managers"
###############################################################################
# Quality & security hardening
###############################################################################
# uncomment to enable security flags - images tested had issues
#require conf/distro/include/security_flags.inc
require conf/distro/include/security_flags.inc
# disable static libs
require conf/distro/include/no-static-libs.inc
@@ -144,8 +145,6 @@ WARN_TO_ERROR_QA = " \
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 = "zeus dunfell"
LAYERSERIES_COMPAT_mortsgna-layer = "dunfell gatesgarth hardknott"
# 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

View File

@@ -0,0 +1,64 @@
Setup new image:
* BACKUP CURRENT HOME
* REMOVE NETWORK PLUG
* 1st login xfce
* copy this file to /home/morona / open with gedit / setup colour theme
As root:
* systemctl disable serial-getty@ttyS0
* systemctl disable serial-getty@ttyAMA0
* create /home/<user>/.asoundrc with (soundcards can be sndrpihifiberry/audioinjectorpi...)
pcm.!default {
type hw
card sndrpihifiberry
}
ctl.!default {
type hw
card sndrpihifiberry
}
* audioinjector: enable mixer control "Output Mixer HiFi"
* passwd
As user:
* passwd
* check session autostart (evt. disable blueman/baloo/tracker/scrensaver..)
* datetime: timezone
* optionally for a tiny better performance: reduce screen resolution (yes really tested: 1280x1024 / 1280x720 are fine)
* check /var/log/postinstall.log
* restart
* network plug
* check journalctl output
* check systemd-analyze: Can be 8-9s
* glmark2-es2: On Pi3 (no B+) ~145 / On Pi 4 ~269
* chromium unselect 'Allow Chromium-sign-in / add ad-blocker / check youtube music-video
* libreoffice: open documents to set libreoffice default
* jack setup
* qtractor midiimport / open reference-project and check all instruments
* ardour5/6
* qmmp/projectm
* mixxx
* vlc
* supercollider
* krita/kdenlive/kalzium
* set-up git (.gitconfig) / ssh-keygen -> github
* qt-creator
standard build directory:
/home/morona/tmp/qtbuilds/build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}
help/about plugins
disable ClangCodeModel
kit/compiler:
set gcc explicitly - clang causes trouble on qml-register functions
kit/cmake:
CMAKE_INSTALL_PREFIX:STRING=/home/morona/tmp/qtinstalls/usr
CMAKE_PREFIX_PATH:STRING=/home/morona/tmp/qtinstalls/usr;%{Qt:QT_INSTALL_PREFIX}
OE_QMAKE_PATH_EXTERNAL_HOST_BINS:STRING=/usr/bin
* clone avr projects & build them
* kicad: open example / check 3d preview
* mame: set video opengl / test some ROMs
* vice: select cairo
* dosbox / dosbox-x / stella
* supertux(kart??)
* open all gnome- / all kde-plasma- / lxqt- / liri- / lumina-sessions

View File

@@ -1,4 +1,4 @@
favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-web-browser.desktop,qjackctl.desktop,ardour5.desktop,lmms.desktop,muse.desktop,qtractor.desktop,rosegarden.desktop,mixxx.desktop,cgenie.desktop,vice_64.desktop
favorites=exo-terminal-emulator.desktop,exo-file-manager.desktop,exo-web-browser.desktop,qjackctl.desktop,ardour5.desktop,ardour6.desktop,lmms.desktop,muse.desktop,qtractor.desktop,rosegarden.desktop,mixxx.desktop,cgenie.desktop,vice_64.desktop
recent=
button-title=Anwendungen
button-icon=xfce4-whiskermenu

View File

@@ -4,6 +4,7 @@ Show_Labels=false
str_fontsize=small
val_fontsize=1
Font=Sans 11
Update_Interval=1
Show_Units=true
Small_Spacings=false
Command_Name=xfce4-sensors

View File

@@ -0,0 +1,38 @@
SUMMARY = "GNOME disk utility"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SECTION = "x11/gnome"
DEPENDS = " \
gtk+3 \
libdvdread \
libcanberra \
libnotify \
libsecret \
libpwquality \
udisks2 \
"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gsettings gtk-icon-cache gettext features_check upstream-version-is-even mime-xdg
REQUIRED_DISTRO_FEATURES = "x11"
EXTRA_OEMESON = " \
-Dman=false \
"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
# As soon as elogind is of interest this needs rework: meson option is combo
PACKAGECONFIG[systemd] = "-Dlogind=libsystemd,-Dlogind=none,systemd"
SRC_URI[archive.sha256sum] = "dd033d3f36ab070bc72317cf3045e5b4927765543f1bce7612b2c7f96595167a"
FILES_${PN} += " \
${datadir}/metainfo \
${datadir}/dbus-1 \
"

View File

@@ -5,7 +5,6 @@ export IMAGE_BASENAME = "allgui-dev-image"
IMAGE_INSTALL += " \
packagegroup-gui-dev \
\
exo-csource \
xfce4-dev-tools \
libxfce4ui-glade \
"

View File

@@ -12,9 +12,12 @@ IMAGE_INSTALL += " \
systemd-bash-completion \
systemd-analyze \
cpufrequtils \
findutils \
htop \
util-linux-lsblk \
nano \
rsync \
wget \
"
IMAGE_DEV_MANAGER = "udev"

View File

@@ -5,27 +5,27 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
inherit packagegroup
RDEPENDS_${PN} = " \
qt5-creator \
qt5-creator qtwebengine-dev \
qtquickcontrols2-examples qtwayland-examples \
hexedit \
glade \
umbrello \
lokalize \
geany-plugins \
gtk-demo gtk+3-demo \
gtk+3-demo \
\
weston weston-xwayland \
\
unzip xz tar bzip2 \
make cmake meson \
make cmake extra-cmake-modules meson \
automake autoconf libtool m4 \
gcc-symlinks g++-symlinks cpp-symlinks \
gcc-symlinks g++-symlinks cpp-symlinks libgomp-dev \
dtc \
pkgconfig binutils-symlinks elfutils gnu-config \
gdb gdbserver \
git git-bash-completion subversion \
python python-shell python-subprocess \
python3 \
valgrind \
git git-bash-completion git-perltools subversion \
python3-core \
perl php vala lua php json-glib \
texinfo gettext \
patch quilt ncurses dialog \
@@ -34,12 +34,18 @@ RDEPENDS_${PN} = " \
chrpath \
nodejs nodejs-npm nodejs-systemtap \
\
ruby ruby-dev \
\
libeigen-dev \
\
wireshark \
nfs-utils-client \
lmsensors-sensord lmsensors-sensorsdetect \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'browser-layer', 'chromium-x11', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-microcontroller', 'packagegroup-avr', '', d)} \
pulseview qtiohelper \
\
${@bb.utils.contains_any('BBFILE_COLLECTIONS', 'browser-layer chromium-browser-layer', 'chromium-x11', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-microcontroller', 'meta-microcontroller-world', '', d)} \
"
RDEPENDS_${PN}_append_libc-glibc = " \
@@ -47,5 +53,5 @@ RDEPENDS_${PN}_append_libc-glibc = " \
"
# qemu
# valgrind
#

View File

@@ -12,6 +12,8 @@ RDEPENDS_${PN} = " \
source-han-sans-kr-fonts \
source-han-sans-jp-fonts \
source-han-sans-tw-fonts \
ttf-noto-emoji-color \
ttf-noto-emoji-regular \
\
tzdata-misc tzdata-africa \
tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \
@@ -22,6 +24,7 @@ RDEPENDS_${PN} = " \
menulibre \
\
gparted \
gnome-disk-utility \
\
mpd \
vlc \
@@ -34,19 +37,19 @@ RDEPENDS_${PN} = " \
\
${MACHINE_SPECIFICS_FULL} \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'browser-layer', 'chromium-x11', '', d)} \
${@bb.utils.contains_any('BBFILE_COLLECTIONS', 'browser-layer chromium-browser-layer', 'chromium-x11', '', d)} \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-retro', 'mame dosbox cass80 z80 vice stella opentyrian d1x-rebirth', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-retro', 'mame dosbox dosbox-x cage cass80 z80 vice stella opentyrian d1x-rebirth', '', d)} \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'office-layer', 'libreoffice abiword-meta', '', d)} \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'games-layer', 'pingus supertux2 freeciv wesnoth-all astromenace chromium-bsu maelstrom', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'games-layer', 'pingus supertuxkart supertux2 freeciv wesnoth-all astromenace chromium-bsu maelstrom scummvm', '', 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', 'meta-qt5-extra', 'gottcode-world kde-apps-world qmlarkdown', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-qt5-extra', 'gottcode-world kde-apps-world qmlarkdown quaternion spectral', '', d)} \
"
# firefox

View File

@@ -7,11 +7,9 @@ inherit packagegroup
# Those listed here are either ugly or nonworking
RDEPENDS_${PN} = " \
atanks \
scummvm \
etr \
gnome-chess \
gnome-robots \
supertuxkart \
\
gnome-games \
mog \

View File

@@ -7,7 +7,6 @@ export IMAGE_BASENAME = "xfce4-dev-image"
IMAGE_INSTALL += " \
packagegroup-gui-dev \
\
exo-csource \
xfce4-dev-tools \
libxfce4ui-glade \
"

View File

@@ -0,0 +1,30 @@
require xfce4-music-image.bb
export IMAGE_BASENAME = "xfce4-music-dev-image"
XFCE_DM = "sddm sddm-morona-autologin"
IMAGE_INSTALL += " \
packagegroup-gui-dev \
\
xfce4-dev-tools \
libxfce4ui-glade \
\
packagegroup-gui-musicians \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'office-layer', 'libreoffice', '', d)} \
${@bb.utils.contains_any('BBFILE_COLLECTIONS', 'browser-layer chromium-browser-layer', 'chromium-x11', '', d)} \
\
jack-dev \
lv2-dev \
libvorbis-dev \
aubio-dev \
libmad-dev \
libsamplerate0-dev \
rubberband-dev \
liblo-dev \
lilv-dev \
suil-dev \
serd-dev \
sord-dev \
"

View File

@@ -8,5 +8,5 @@ IMAGE_INSTALL += " \
packagegroup-gui-musicians \
\
${@bb.utils.contains('BBFILE_COLLECTIONS', 'office-layer', 'libreoffice', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'browser-layer', 'chromium-x11', '', d)} \
${@bb.utils.contains_any('BBFILE_COLLECTIONS', 'browser-layer chromium-browser-layer', 'chromium-x11', '', d)} \
"

View File

@@ -12,7 +12,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
# Feel free to add more...
BOOTPARTSPEC = "boot,vfat BOOT,vfat"
BOOTPARTSPEC_rpi = "raspberrypi,vfat"
BOOTPARTSPEC_rpi = "rpi*,vfat"
do_install () {
install -d ${D}${nonarch_base_libdir}/udev/rules.d

View File

@@ -83,7 +83,8 @@ SelectCardDevice() {
ErrorOut 'Cancel selected at SelectCardDevice().'
fi
DevicePath=${DevicePathArr[$menuitem]}
DeviceSize=`lsblk --nodeps --raw --noheadings --output SIZE --bytes $dev`
DeviceSize=`lsblk --nodeps --raw --noheadings --output SIZE --bytes $DevicePath`
unset menuitem
unset menuitems
fi
@@ -98,16 +99,24 @@ SelectCardDevice() {
# DeployFileDir: Path of the file selected
SelectDeployedFile() {
if [ -z "$DeployedFile" ]; then
GetBitbakeEnvVar "TMPDIR"
_TMPDIR="$BitbakeEnvVar"
if [ -z "$BITBAKE_TMPDIR" ]; then
GetBitbakeEnvVar "TMPDIR"
BITBAKE_TMPDIR="$BitbakeEnvVar"
fi
# bitbake environment found?
if [ -z "$_TMPDIR" ]; then
if [ -z "$BITBAKE_TMPDIR" ]; then
ErrorOut "Bitbake environment variable TMPDIR not found!"
fi
for FilePath in `find ${_TMPDIR}/deploy/images/${Machine} $FindString | sort` ; do
DeployPath=${BITBAKE_TMPDIR}/deploy/images/${Machine}
if [ ! -e ${DeployPath} ]; then
echo "${style_yellow}${style_bold}DeployPath: ${DeployPath}${style_normal}"
ErrorOut "Deploy path for ${Machine} not found! Wrong script started?"
fi
for FilePath in `find ${DeployPath} $FindString | sort` ; do
iCount=`expr $iCount + 1`
RootFileNameArr[${iCount}]="$FilePath"
FileSize=`du -Dh "$FilePath" | cut -f1`
FileSize=`du -Dbh "$FilePath" | cut -f1`
menuitems+=( "$iCount" "`basename $FilePath` / size: $FileSize" )
done

View File

@@ -20,11 +20,11 @@ RootCardWriteCallback() {
# 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"
EvalExAuto "gunzip -c $DeployedFile | dd of=$DevicePath status=progress 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"
EvalExAuto "tar -x -f $DeployedFile --to-stdout | dd of=$DevicePath status=progress oflag=nocache bs=1024K" "$StartMessage"
else
EvalExAuto "dd of=$DevicePath oflag=nocache if=$DeployedFile bs=1024K" "$StartMessage"
EvalExAuto "dd of=$DevicePath status=progress oflag=nocache if=$DeployedFile bs=1024K" "$StartMessage"
fi
# resize I
EvalExAuto "parted -s $DevicePath -- resizepart 2 -0" "\nResize I ${DevicePath}2..."

View File

@@ -20,9 +20,9 @@ RootCardWriteCallback() {
# 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"
EvalExAuto "gunzip -c $DeployedFile | dd of=$DevicePath status=progress oflag=nocache bs=1024K" "$StartMessage"
else
EvalExAuto "dd of=$DevicePath oflag=nocache if=$DeployedFile bs=1024K" "$StartMessage"
EvalExAuto "dd of=$DevicePath status=progress oflag=nocache if=$DeployedFile bs=1024K" "$StartMessage"
fi
# resize I
EvalExAuto "parted -s $DevicePath -- resizepart 2 -0" "\nResize I ${DevicePath}2..."

View File

@@ -18,7 +18,7 @@ RootCardWriteCallback() {
# evt. write partition table
CheckPartitionTable "$DevicePath"
# write
EvalExAuto "dd of=$DevicePath oflag=nocache if=$DeployedFile bs=1024K" "\nWrite $DeployedFile to $DevicePath..."
EvalExAuto "dd of=$DevicePath status=progress oflag=nocache if=$DeployedFile bs=1024K" "\nWrite $DeployedFile to $DevicePath..."
# resize I
EvalExAuto "parted -s $DevicePath -- resizepart 2 -0" "\nResize I ${DevicePath}2..."
# resize II