From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH 00/16] Cleanups, linux-custom fix, auto-expansion helper
Date: Tue, 11 Sep 2018 14:05:40 +0200 [thread overview]
Message-ID: <cover.1536667556.git.jan.kiszka@siemens.com> (raw)
Key features of this series:
- cleanup / fix / control of filesystem checks
- removal of ROOTFS_DEV and ROOTFS_TYPE
- wks file cleanups and corrections
- avoidance of ROOTFS_EXTRA for wic images
- fix for linux-custom.inc, allows to tell linux-cip and linux-cip-rt apart
- move IMAGE_PREINSTALL = "init" to distro conf
And then there is a new goody again: When adding expand-on-first-boot to
IMAGE_INSTALL, this helper will expand the last partition of an image to
the full size of the target medium. Very useful to generate small SD
card images that become big once used on the target device. That's also
what many images for maker boards include.
Jan
Jan Kiszka (16):
meta-isar: Adjust kernel params in sdimage-efi.wks
meta-isar: Reduce grub timeout to 3 seconds
meta-isar: Fix bananapi root disk specification
meta-isar: Remove "=" after wic parameters
u-boot-script: Become independent of target /etc/fstab
isar-image-base: Disable rootfs check by default
isar-image-base: Use generic parameters for rootfs entry in fstab
meta: Remove ROOTFS_TYPE
start_vm: Rename QEMU_ROOTFS_DEV to QEMU_DISK_ARGS
start_vm: Rename ROOTFS_DEV to QEMU_ROOTFS_DEV
RECIPE-API-CHANGELOG: Add ROOTFS_DEV/TYPE removal
meta: Add expand-on-first-boot support package
image: Limit ROOTFS_EXTRA to non-wic image type
linux-custom: Simplify and clarify KERNEL_NAME-to-recipe matching
meta-isar: Move init preinstallation into distro conf
meta: Add enable-fsck helper recipe
RECIPE-API-CHANGELOG.md | 15 ++++++
meta-isar/conf/distro/debian-buster.conf | 2 +
meta-isar/conf/distro/debian-stretch.conf | 2 +
meta-isar/conf/local.conf.sample | 2 +-
meta-isar/conf/multiconfig/bananapi-stretch.conf | 4 --
meta-isar/conf/multiconfig/qemuamd64-buster.conf | 6 +--
meta-isar/conf/multiconfig/qemuamd64-jessie.conf | 4 +-
meta-isar/conf/multiconfig/qemuamd64-stretch.conf | 6 +--
meta-isar/conf/multiconfig/qemuarm-buster.conf | 6 +--
meta-isar/conf/multiconfig/qemuarm-jessie.conf | 4 +-
meta-isar/conf/multiconfig/qemuarm-stretch.conf | 6 +--
meta-isar/conf/multiconfig/qemuarm-wheezy.conf | 4 +-
meta-isar/conf/multiconfig/qemuarm64-buster.conf | 6 +--
meta-isar/conf/multiconfig/qemuarm64-stretch.conf | 6 +--
meta-isar/conf/multiconfig/qemui386-buster.conf | 6 +--
meta-isar/conf/multiconfig/qemui386-jessie.conf | 4 +-
meta-isar/conf/multiconfig/qemui386-stretch.conf | 6 +--
meta-isar/conf/multiconfig/rpi-jessie.conf | 2 -
meta-isar/recipes-core/images/isar-image-base.bb | 2 +-
meta-isar/scripts/lib/wic/canned-wks/bananapi.wks | 6 +--
.../scripts/lib/wic/canned-wks/directdisk-isar.wks | 2 +-
.../scripts/lib/wic/canned-wks/sdimage-efi.wks | 6 +--
meta/classes/ext4-img.bbclass | 2 -
meta/classes/image.bbclass | 12 ++---
meta/classes/wic-img.bbclass | 3 +-
meta/recipes-bsp/u-boot-script/files/u-boot-script | 7 ++-
.../u-boot-script/files/update-u-boot-script | 12 +----
.../recipes-bsp/u-boot-script/u-boot-script_1.0.bb | 55 ++++++++++++++++++----
meta/recipes-kernel/linux/linux-custom.inc | 10 ++--
meta/recipes-support/enable-fsck/enable-fsck.bb | 25 ++++++++++
.../enable-fsck/files/enable-fsck.service | 23 +++++++++
.../enable-fsck/files/enable-fsck.sh | 16 +++++++
meta/recipes-support/enable-fsck/files/postinst | 3 ++
.../expand-on-first-boot/expand-on-first-boot.bb | 25 ++++++++++
.../files/expand-last-partition.sh | 31 ++++++++++++
.../files/expand-on-first-boot.service | 23 +++++++++
.../expand-on-first-boot/files/postinst | 3 ++
scripts/start_vm | 6 +--
38 files changed, 264 insertions(+), 99 deletions(-)
create mode 100644 meta/recipes-support/enable-fsck/enable-fsck.bb
create mode 100644 meta/recipes-support/enable-fsck/files/enable-fsck.service
create mode 100644 meta/recipes-support/enable-fsck/files/enable-fsck.sh
create mode 100644 meta/recipes-support/enable-fsck/files/postinst
create mode 100644 meta/recipes-support/expand-on-first-boot/expand-on-first-boot.bb
create mode 100644 meta/recipes-support/expand-on-first-boot/files/expand-last-partition.sh
create mode 100644 meta/recipes-support/expand-on-first-boot/files/expand-on-first-boot.service
create mode 100644 meta/recipes-support/expand-on-first-boot/files/postinst
--
2.16.4
next reply other threads:[~2018-09-11 12:05 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 12:05 Jan Kiszka [this message]
2018-09-11 12:05 ` [PATCH 01/16] meta-isar: Adjust kernel params in sdimage-efi.wks Jan Kiszka
2018-09-11 12:05 ` [PATCH 02/16] meta-isar: Reduce grub timeout to 3 seconds Jan Kiszka
2018-09-11 12:05 ` [PATCH 03/16] meta-isar: Fix bananapi root disk specification Jan Kiszka
2018-09-12 8:57 ` Henning Schild
2018-09-12 8:59 ` Henning Schild
2018-09-11 12:05 ` [PATCH 04/16] meta-isar: Remove "=" after wic parameters Jan Kiszka
2018-09-11 12:05 ` [PATCH 05/16] u-boot-script: Become independent of target /etc/fstab Jan Kiszka
2018-09-11 12:05 ` [PATCH 06/16] isar-image-base: Disable rootfs check by default Jan Kiszka
2018-09-11 12:05 ` [PATCH 07/16] isar-image-base: Use generic parameters for rootfs entry in fstab Jan Kiszka
2018-09-11 12:05 ` [PATCH 08/16] meta: Remove ROOTFS_TYPE Jan Kiszka
2018-09-11 12:05 ` [PATCH 09/16] start_vm: Rename QEMU_ROOTFS_DEV to QEMU_DISK_ARGS Jan Kiszka
2018-09-11 12:05 ` [PATCH 10/16] start_vm: Rename ROOTFS_DEV to QEMU_ROOTFS_DEV Jan Kiszka
2018-09-11 12:05 ` [PATCH 11/16] RECIPE-API-CHANGELOG: Add ROOTFS_DEV/TYPE removal Jan Kiszka
2018-09-11 12:05 ` [PATCH 12/16] meta: Add expand-on-first-boot support package Jan Kiszka
2018-09-12 13:46 ` Henning Schild
2018-09-13 8:33 ` Jan Kiszka
2018-09-13 9:30 ` Henning Schild
2018-09-13 13:17 ` Jan Kiszka
2018-09-11 12:05 ` [PATCH 13/16] image: Limit ROOTFS_EXTRA to non-wic image type Jan Kiszka
2018-09-11 12:05 ` [PATCH 14/16] linux-custom: Simplify and clarify KERNEL_NAME-to-recipe matching Jan Kiszka
2018-09-11 12:05 ` [PATCH 15/16] meta-isar: Move init preinstallation into distro conf Jan Kiszka
2018-09-11 12:05 ` [PATCH 16/16] meta: Add enable-fsck helper recipe Jan Kiszka
2018-09-25 11:27 ` [PATCH 00/16] Cleanups, linux-custom fix, auto-expansion helper Maxim Yu. Osipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1536667556.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox