Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
510508c16a | ||
|
|
add8cea9aa | ||
|
|
feb55c3052 | ||
|
|
d0ed2eca11 | ||
|
|
16e566b32a | ||
|
|
bb5833ad59 | ||
|
|
9883633e4f | ||
|
|
63d5a3b6ab | ||
|
|
aa68922983 | ||
|
|
f90d639dfa | ||
|
|
851fc4da51 | ||
|
|
a33b93ac66 | ||
|
|
598e4004a6 | ||
|
|
2442ec1ee0 | ||
|
|
1b9960f253 | ||
|
|
56b6d11605 | ||
|
|
6553814e86 | ||
|
|
1847519cf3 | ||
|
|
d4c5383948 | ||
|
|
1760eea00f | ||
|
|
84ad5be0a9 | ||
|
|
92bd1073c6 | ||
|
|
fe42ec1128 | ||
|
|
3ca852b598 | ||
|
|
4801bf3cd5 |
@@ -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
|
||||
|
||||
1
appends/meta-gnome/evolution-data-server_%.bbappend
Normal file
1
appends/meta-gnome/evolution-data-server_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG_remove = "introspection"
|
||||
@@ -1 +0,0 @@
|
||||
RRECOMMENDS_${PN} += "udev-rules-udisks-hide-bootpart"
|
||||
@@ -1 +1 @@
|
||||
PACKAGECONFIG_append = " startup-notification gladeui"
|
||||
PACKAGECONFIG_append = " startup-notification gladeui2"
|
||||
|
||||
3
appends/meta-xfce/packagegroup-xfce-extended.bbappend
Normal file
3
appends/meta-xfce/packagegroup-xfce-extended.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
RRECOMMENDS_${PN} += " \
|
||||
imsettings \
|
||||
"
|
||||
@@ -1 +1 @@
|
||||
PACKAGECONFIG_append = " datetime-setter sound-setter notify"
|
||||
PACKAGECONFIG_append = " sound-setter notify"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
PACKAGECONFIG_append = " gnome"
|
||||
@@ -38,10 +38,10 @@
|
||||
# 4. Set sysroot (see INSTANT_TARGET_PATH in instant-path.bbclass):
|
||||
# ${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:
|
||||
# C: '<TMDIR>/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-gcc'
|
||||
# C++: '${TMPDIR}/sysroot-instant-native/usr/bin/arm-mortsgna-linux-gnueabi/arm-mortsgna-linux-gnueabi-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
|
||||
# * 'GDB'-tab unselect 'Show a message box when reciving a signal'
|
||||
# * 'Locals & Expressions' add in 'Debugging Helper Customization' lines as
|
||||
@@ -49,7 +49,7 @@
|
||||
# running int breaks
|
||||
# 8. Select 'OK' in Options dialog -> 'Start Debugger' should be back on top
|
||||
# * 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'
|
||||
# * Select 'OK'
|
||||
#
|
||||
@@ -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)}"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
@@ -135,7 +135,7 @@ 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}"
|
||||
@@ -193,6 +193,7 @@ EXTRA_IMAGE_FEATURES += " \
|
||||
empty-root-password \
|
||||
allow-empty-password \
|
||||
post-install-logging \
|
||||
volatile-log \
|
||||
"
|
||||
|
||||
# make x11-base a valid IMAGE_FEATURES
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Hidden=true
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -5,6 +5,7 @@ NETWORKPACKS ?= " \
|
||||
avahi-autoipd \
|
||||
iputils \
|
||||
networkmanager \
|
||||
networkmanager-openvpn \
|
||||
networkmanager-bash-completion \
|
||||
"
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ RDEPENDS_${PN} = " \
|
||||
man man-pages \
|
||||
gawk \
|
||||
chrpath \
|
||||
nodejs nodejs-npm nodejs-systemtap \
|
||||
\
|
||||
wireshark \
|
||||
nfs-utils-client \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -20,5 +20,5 @@ RDEPENDS_${PN} = " \
|
||||
gnome-system-monitor \
|
||||
dconf-editor \
|
||||
\
|
||||
glmark2 mesa-demos eglinfo-x11 \
|
||||
glmark2 mesa-demos \
|
||||
"
|
||||
|
||||
@@ -4,9 +4,6 @@ export IMAGE_BASENAME = "xfce4-music-image"
|
||||
|
||||
XFCE_DM = "sddm sddm-morona-autologin"
|
||||
|
||||
# Saving to SDCard creates delays/underruns
|
||||
IMAGE_FEATURES += "volatile-log"
|
||||
|
||||
IMAGE_INSTALL += " \
|
||||
packagegroup-gui-musicians \
|
||||
\
|
||||
|
||||
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"
|
||||
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user