This repository was archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
OE-core master update + Yocto Compatible 2.0 enhancements #184
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
38b1356
meta-refkit-core: Use separate bbappends directory
pohly 04dd4cd
meta-refkit-core: move changes into optional .bbappends
pohly 68e70b3
bmap-tools_%.bbappend: use regular .inc file for optional change
pohly e2fb823
refkit-sanity.bbclass: whitelist per-package resolv.conf symlinks
pohly 85a0832
refkit-config.inc: stay on gcc 6.x
pohly 88c12ea
refkit poky testing: reduce testing of refkit-image-common
pohly e8bebf5
upm: fix logic mistake and gcc7 incompatibility
pohly 891b268
intel-iot-refkit: openembedded-core update + DISTRO_FEATURES_OVERRIDES
pohly fcbce0b
bmap-tools_%.bbappend: use explicit helper function
pohly 11897e1
refkit_poky.py: keep docstring at start of method
pohly bdfa882
refkit_poky.py: split tests into more classes
pohly File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
meta-refkit-computervision/recipes-computervision/librealsense/librealsense_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
|
||
| EXTRA_OECMAKE_refkit-computervision = " \ | ||
| EXTRA_OECMAKE_df-refkit-computervision = " \ | ||
| -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_UNIT_TESTS:BOOL=OFF -DBUILD_EXAMPLES:BOOL=ON \ | ||
| -DBUILD_GRAPHICAL_EXAMPLES:BOOL=${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'ON', 'OFF', d)} \ | ||
| " | ||
|
|
||
| PACKAGES_refkit-computervision = "${PN} ${PN}-dbg ${PN}-dev ${PN}-examples ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', '${PN}-graphical-examples', '', d)}" | ||
| PACKAGES_df-refkit-computervision = "${PN} ${PN}-dbg ${PN}-dev ${PN}-examples ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', '${PN}-graphical-examples', '', d)}" | ||
|
|
||
| SRC_URI_append_refkit-computervision = " \ | ||
| SRC_URI_append_df-refkit-computervision = " \ | ||
| file://0001-scripts-removed-bashisms.patch \ | ||
| file://0001-examples-control-building-of-the-graphical-examples.patch \ | ||
| " | ||
|
|
||
| RDEPENDS_${PN}_remove_refkit-computervision = "bash" | ||
| RDEPENDS_${PN}_remove_df-refkit-computervision = "bash" |
6 changes: 3 additions & 3 deletions
6
meta-refkit-computervision/recipes-computervision/opencv/opencv_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
7 changes: 7 additions & 0 deletions
7
...e/bbappends/meta-openembedded/meta-networking/recipes-filter/nftables/nftables_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # remove readline dependency from nftables | ||
| DEPENDS_remove_df-refkit-config = "readline" | ||
| EXTRA_OECONF_append_df-refkit-config = " --without-cli" | ||
|
|
||
| # make nftables require a settings package | ||
| VIRTUAL-RUNTIME_nftables-settings ?= "nftables-settings-default" | ||
| RDEPENDS_nftables_append_df-refkit-config = " ${VIRTUAL-RUNTIME_nftables-settings}" |
Empty file.
3 changes: 3 additions & 0 deletions
3
...t-core/bbappends/meta-openembedded/meta-oe/recipes-graphics/gphoto2/libgphoto2_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # usbutils depends directly on libusb1, not the obsolete compatibility. This removes dependency on libusb-compat. | ||
| DEPENDS_remove_df-refkit-config = "virtual/libusb0" | ||
| DEPENDS_append_df-refkit-config = " libusb1" |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions
4
meta-refkit-core/bbappends/meta-security/recipes-tpm/swtpm/swtpm-wrappers-native.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Temporary workaround (needs to be fixed in meta-security once the | ||
| # necessary patch "net-tools: enable native and nativesdk variant" | ||
| # is in OE-core): swtpm_setup.sh needs netstat command. | ||
| DEPENDS_append_df-refkit-config = " net-tools-native" | ||
7 changes: 7 additions & 0 deletions
7
meta-refkit-core/bbappends/meta-security/recipes-tpm/trousers/trousers_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # The upstream recipe does not start tcsd automatically, but we | ||
| # want that because the installer image calls the TPM tools | ||
| # without starting tcsd first (it shouldn't have to!), and | ||
| # without tcsd already running, the tools just fail. A better | ||
| # solution would be socket-activation, but tcsd does not support | ||
| # that. Does not matter, tcsd is only installed when needed. | ||
| SYSTEMD_AUTO_ENABLE_df-refkit-config = "enable" |
Empty file.
4 changes: 2 additions & 2 deletions
4
...-bsp/systemd-boot/systemd-boot_%.bbappend → ...-bsp/systemd-boot/systemd-boot_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| do_compile_append_refkit-config () { | ||
| do_compile_append_df-refkit-config () { | ||
| oe_runmake linux${SYSTEMD_BOOT_EFI_ARCH}.efi.stub | ||
| } | ||
|
|
||
| do_deploy_append_refkit-config () { | ||
| do_deploy_append_df-refkit-config () { | ||
| install ${B}/linux*.efi.stub ${DEPLOYDIR} | ||
| } |
20 changes: 10 additions & 10 deletions
20
...cipes-connectivity/avahi/avahi_%.bbappend → ...cipes-connectivity/avahi/avahi_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,34 @@ | ||
| FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
|
||
| # libnss-mdns is not supported, so remove it from the RRECOMMENDS | ||
| RRECOMMENDS_avahi-daemon_remove_libc-glibc_refkit-config = " libnss-mdns" | ||
| RRECOMMENDS_${PN}_remove_libc-glibc_refkit-config = " libnss-mdns" | ||
| RRECOMMENDS_avahi-daemon_remove_libc-glibc_df-refkit-config = " libnss-mdns" | ||
| RRECOMMENDS_${PN}_remove_libc-glibc_df-refkit-config = " libnss-mdns" | ||
|
|
||
| # provide libdns_sd.so and dns_sd.h header | ||
| EXTRA_OECONF_append_refkit-config = " --enable-compat-libdns_sd" | ||
| EXTRA_OECONF_append_df-refkit-config = " --enable-compat-libdns_sd" | ||
|
|
||
| FILES_${PN}_append_refkit-config = " \ | ||
| FILES_${PN}_append_df-refkit-config = " \ | ||
| ${libdir}/libdns_sd.* \ | ||
| " | ||
|
|
||
| # add firewall support | ||
| RDEPENDS_${PN}_append_refkit-firewall += " nftables" | ||
| RDEPENDS_${PN}_append_df-refkit-firewall += " nftables" | ||
|
|
||
| SRC_URI_append_refkit-firewall = "\ | ||
| SRC_URI_append_df-refkit-firewall = "\ | ||
| file://avahi.ruleset \ | ||
| " | ||
|
|
||
| do_install_append_refkit-config() { | ||
| do_install_append_df-refkit-config() { | ||
| install -d ${D}${includedir}/avahi-compat-libdns_sd | ||
| install -m 0644 ${S}/avahi-compat-libdns_sd/dns_sd.h ${D}${includedir}/avahi-compat-libdns_sd/ | ||
|
|
||
| } | ||
| do_install_append_refkit-firewall() { | ||
|
|
||
| do_install_append_df-refkit-firewall() { | ||
| install -d ${D}${libdir}/firewall/services | ||
| install -m 0644 ${WORKDIR}/avahi.ruleset ${D}${libdir}/firewall/services/ | ||
|
|
||
| } | ||
|
|
||
| FILES_${PN}_append_refkit-firewall = " \ | ||
| FILES_${PN}_append_df-refkit-firewall = " \ | ||
| ${libdir}/firewall/services/avahi.ruleset \ | ||
| " |
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...es-connectivity/bluez5/bluez5_5%.bbappend → ...es-connectivity/bluez5/bluez5_5%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| # libusb is not required. This removes dependency on libusb-compat. | ||
| DEPENDS_remove_refkit-config = "libusb" | ||
| DEPENDS_remove_df-refkit-config = "libusb" | ||
|
|
||
| # split bluetoothctl into a subpackage | ||
| PACKAGES_prepend_refkit-config = "${PN}-client " | ||
| PACKAGES_prepend_df-refkit-config = "${PN}-client " | ||
| FILES_${PN}-client = "${@bb.utils.contains('PACKAGECONFIG', 'readline', '${bindir}/bluetoothctl', '', d)}" | ||
| RRECOMMENDS_${PN}_append_refkit-config = " ${PN}-client" | ||
| RRECOMMENDS_${PN}_append_df-refkit-config = " ${PN}-client" |
11 changes: 11 additions & 0 deletions
11
meta-refkit-core/bbappends/openembedded-core/meta/recipes-core/busybox/busybox_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
|
||
| # refkit.cfg disables CONFIG_SYSLOGD so the corresponding packaging | ||
| # needs to be dropped as well. | ||
| SYSTEMD_PACKAGES_df-refkit-config = "" | ||
| PACKAGES_remove_df-refkit-config = "${PN}-syslog" | ||
| RRECOMMENDS_${PN}_remove_df-refkit-config = "${PN}-syslog" | ||
|
|
||
| SRC_URI_append_df-refkit-config = "\ | ||
| file://refkit.cfg \ | ||
| " |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...e/recipes-core/systemd/systemd_%.bbappend → ...a/recipes-core/systemd/systemd_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
|
||
| SRC_URI_append_refkit-config = "\ | ||
| SRC_URI_append_df-refkit-config = "\ | ||
| file://0001-unit-service-allow-rerunning-reload-tasks.patch \ | ||
| file://0002-path-add-ReloadOnTrigger-option.patch \ | ||
| " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...t-core/bbappends/openembedded-core/meta/recipes-devtools/bmap-tools/bmap-tools_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| require ${@ oe.utils.any_distro_features(d, "refkit-config", "bmap-tools-deploy.inc")} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
meta-refkit-core/bbappends/openembedded-core/meta/recipes-devtools/python/refkit-python.inc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Recipe changes not yet upstream which are needed to build images | ||
| # with no GPLv3-licenses components. Upstream OE-core changes will | ||
| # have this configurable, here it only depends on the "refkit-config" | ||
| # distro feature. | ||
| DEPENDS_remove_df-refkit-config = "readline gdbm db" | ||
| PACKAGES_remove_df-refkit-config = "${PN}-readline ${PN}-gdbm ${PN}-db" | ||
| PROVIDES_remove_df-refkit-config = "${PN}-readline ${PN}-gdbm ${PN}-db" | ||
| RRECOMMENDS_${PN}-core_remove_df-refkit-config = "${PN}-readline" | ||
| RDEPENDS_${PN}-modules_remove_df-refkit-config = "${PN}-readline ${PN}-gdbm ${PN}-db" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ore/recipes-devtools/qemu/qemu_%.bbappend → ...eta/recipes-devtools/qemu/qemu_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...e/recipes-devtools/quilt/quilt_%.bbappend → ...a/recipes-devtools/quilt/quilt_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| EXTRA_OECONF_append_refkit-config = " \ | ||
| EXTRA_OECONF_append_df-refkit-config = " \ | ||
| --without-sendmail \ | ||
| --with-awk=/usr/bin/awk \ | ||
| " |
2 changes: 1 addition & 1 deletion
2
...recipes-extended/shadow/shadow_%.bbappend → ...recipes-extended/shadow/shadow_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...appends/openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| PACKAGECONFIG_remove_df-refkit-config = "glx" | ||
| EXTRA_OECONF_append_df-refkit-config = " --disable-egl" |
2 changes: 2 additions & 0 deletions
2
...core/bbappends/openembedded-core/meta/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| DEPENDS_remove_df-refkit-config = "gconf" | ||
| EXTRA_OECONF_append_df-refkit-config = " --disable-gconf" |
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...cipes-security/openssh/openssh_%.bbappend → ...cipes-security/openssh/openssh_%.bbappend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
|
|
||
| RDEPENDS_${PN}-sshd_append_refkit-firewall = " nftables" | ||
| RDEPENDS_${PN}-sshd_append_df-refkit-firewall = " nftables" | ||
|
|
||
| SRC_URI_append_refkit-firewall = "\ | ||
| SRC_URI_append_df-refkit-firewall = "\ | ||
| file://openssh-sshd.ruleset \ | ||
| " | ||
|
|
||
| do_install_append_refkit-firewall() { | ||
| do_install_append_df-refkit-firewall() { | ||
| install -d ${D}${libdir}/firewall/services | ||
| install -m 0644 ${WORKDIR}/openssh-sshd.ruleset ${D}${libdir}/firewall/services/ | ||
| } | ||
|
|
||
| FILES_${PN}_append_refkit-firewall = " \ | ||
| FILES_${PN}_append_df-refkit-firewall = " \ | ||
| ${libdir}/firewall/services/openssh-sshd.ruleset \ | ||
| " |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appears to be in oe-core (openembedded/openembedded-core@508163b). Can this be removed?