Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'rojkov/meta-swupd3' into meta-swupd
Browse files Browse the repository at this point in the history
  • Loading branch information
pohly committed Mar 30, 2016
2 parents 99c1761 + 8d8ac87 commit 20844e3
Show file tree
Hide file tree
Showing 30 changed files with 311 additions and 402 deletions.
2 changes: 0 additions & 2 deletions meta-ostro/recipes-image/images/ostro-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ FEATURE_PACKAGES_soletta-tools = "soletta-dev-app"
# because it is the most common source code management tool.
FEATURE_PACKAGES_tools-develop = "packagegroup-core-buildessential git"

FEATURE_PACKAGES_swupd = "packagegroup-swupd"

FEATURE_PACKAGES_qatests = "packagegroup-qa-tests"

# Use gummiboot as the EFI bootloader.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
12 changes: 0 additions & 12 deletions meta-ostro/recipes-swupd/packagegroups/packagegroup-swupd.bb

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append = "file://efi-combo-trigger.service"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Unit]
Description=Updates the EFI combo application
BindsTo=update-triggers.target

[Service]
Type=oneshot
ExecStart=/usr/bin/efi_combo_updater
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Unit]
Description=Post system update triggers
Wants=ldconfig-trigger.service
Wants=catalog-trigger.service
Wants=tmpfiles-trigger.service
Wants=efi-combo-trigger.service
16 changes: 16 additions & 0 deletions meta-ostro/recipes-swupd/swupd-client/swupd-client_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI_append = "file://0001-Disable-boot-file-heuristics.patch \
file://efi_combo_updater.c \
"

RDEPENDS_${PN}_class-target_append = " gptfdisk"

do_compile_append() {
${CC} ${LDFLAGS} ${WORKDIR}/efi_combo_updater.c -Os -o ${B}/efi_combo_updater `pkg-config --cflags --libs glib-2.0`
}

do_install_append () {
install -d ${D}/usr/bin
install ${B}/efi_combo_updater ${D}/usr/bin/
}
Loading

0 comments on commit 20844e3

Please sign in to comment.