Skip to content

Commit

Permalink
Merge pull request rauc#99 from ejoerns/update-to-scarthgap
Browse files Browse the repository at this point in the history
qemux86: Update to scarthgap, Update to master
  • Loading branch information
leon-anavi authored Jun 6, 2024
2 parents 7a0da6a + aceeb14 commit eec8238
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion meta-rauc-qemux86/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ BBFILE_PATTERN_meta-rauc-qemux86 = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-rauc-qemux86 = "6"

LAYERDEPENDS_meta-rauc-qemux86 = "core"
LAYERSERIES_COMPAT_meta-rauc-qemux86 = "kirkstone nanbield"
LAYERSERIES_COMPAT_meta-rauc-qemux86 = "styhead"
9 changes: 5 additions & 4 deletions meta-rauc-qemux86/recipes-bsp/grub/rauc-qemu-grubconf.bb
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ SRC_URI += " \
file://grubenv \
"

S = "${WORKDIR}"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"

inherit deploy

do_install() {
install -d ${D}${EFI_FILES_PATH}
install -m 644 ${WORKDIR}/grub.cfg ${D}${EFI_FILES_PATH}/grub.cfg
install -m 644 ${S}/grub.cfg ${D}${EFI_FILES_PATH}/grub.cfg
}

FILES:${PN} += "${EFI_FILES_PATH}"

do_deploy() {
install -m 644 ${WORKDIR}/grub.cfg ${DEPLOYDIR}
install -m 644 ${WORKDIR}/grubenv ${DEPLOYDIR}
install -m 644 ${S}/grub.cfg ${DEPLOYDIR}
install -m 644 ${S}/grubenv ${DEPLOYDIR}
}

addtask deploy after do_install before do_build
4 changes: 2 additions & 2 deletions meta-rauc-qemux86/wic/qemux86-grub-efi.wks
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ part --fixed-size 50M --source rawcopy --sourceparams="file=efi-boot.vfat" --fst
part --fixed-size 50M --ondisk sda --align 4096 --no-table
part --fixed-size 10M --source rawcopy --sourceparams="file=grubenv.vfat" --fstype=vfat --ondisk sda --label grubenv --align 1024
part /rescue --source rootfs --ondisk sda --fstype=ext4 --label rescue --align 1024
part / --source rootfs --ondisk sda --fstype=ext4 --label root_a --fixed-size=150M --align 4096
part / --source rootfs --ondisk sda --fstype=ext4 --label root_b --fixed-size=150M --align 4096
part / --source rootfs --ondisk sda --fstype=ext4 --label root_a --fixed-size=200M --align 4096
part / --source empty --ondisk sda --fstype=ext4 --label root_b --fixed-size=200M --align 4096
part /data --fixed-size 100M --ondisk sda --fstype=ext4 --label data --align 4096

0 comments on commit eec8238

Please sign in to comment.