summaryrefslogtreecommitdiffstats
path: root/recipes/ostree
Commit message (Collapse)AuthorAgeFilesLines
* ostree: Mount boot partition from user spaceGatis Paeglis2016-03-081-65/+43
| | | | | | | | | | | | | | | | | | In the current approach we assumed that boot/ - is on a separate boot partition - boot partition is right before rootfs partition - rootfs parition is provided as a *device node* - has "ext2" filesystem (mount shell cmd tries to auto detect FS type, mount system call does not.) The new approch does not assume any of the above, and moves this logic from early user space (initramfs) to user space. Initramfs by design should be used only to prepare the rootfs, other tasks should be done later. Change-Id: Idc429c8061c1fd486658e4b4d170ee487682cc91 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* ostree: Do not use grub2-mkconfig.Gatis Paeglis2016-03-082-0/+61
| | | | | | | | | | | | | | | | | | | | | | For more details see: https://bugzilla.gnome.org/show_bug.cgi?id=762220 To summarize: 1) The current approach is less flexible than using a custom 'ostree-grub-generator' script. Each device can adjust this script for its needs, instead of hardcoding some values in ostree-bootloader-grub2.c. 2) Too much overhead on embedded to generate grub.cfg via /etc/grub.d/ configuration files. It is still possible to do so, even with this patch applied. 3) The grub2-mkconfig code path has other issues: https://bugzilla.gnome.org/show_bug.cgi?id=761180 Change-Id: I077838fdf16fbbb42f98df6fa6720bfbaf7c6f8b Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Update license headersSamuli Piippo2016-02-091-14/+13
| | | | | Change-Id: Iabcf736e6f4ae2149b57c84ebdc8b5b1be82023d Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Merge remote-tracking branch 'origin/dizzy' into devSamuli Piippo2015-12-142-0/+83
|\ | | | | | | | | | | | | * origin/dizzy: Mount boot partition from ostree-prepare-root Change-Id: Id38bb6ebcf37f88f3d73916d55b3968f019108c2
| * Mount boot partition from ostree-prepare-rootGatis Paeglis2015-12-142-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | This is more convenient than having to implement two code paths to do the same thing - one for systemd based images and one for systemd-less images. This is also more efficient, the earlier implementation in initramfs scripts relied on udev which affects boot time. Change-Id: I0fee1072ed34f13d5dffb846322ddd7cef5542fe Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* | ostree: deploy dracut moduleGatis Paeglis2015-12-081-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is required for ostree boot compatible initramfs image generation on systemd enabled images. Also there is no harm to deploy this module-setup.sh script on a systemd-less images. We overwrite it when deploying our custom dracut module in this case. Change-Id: I8142cfa36db663782ac0399c30bc08cf5bdcd8b2 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* | Merge remote-tracking branch 'origin/dizzy' into devSamuli Piippo2015-12-075-67/+309
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/dizzy: Use openembedded mirror from github nitrogen6x: add u-boot binary back to the image ostree: Add TLS support ostree: patch upstream project ostree: Add GNUPG to runtime dependencies. Revert "Build nativesdk-ostree" Remove unused b2qt-update-framework Conflicts: conf/distro/include/nitrogen6x.conf recipes/ostree/ostree.bb scripts/manifest.xml scripts/manifest_fido.xml Change-Id: Ie3884fa026fc8b8d7d05a9bff4b2beb124e4fd03
| * ostree: Add TLS supportGatis Paeglis2015-12-011-1/+7
| | | | | | | | | | Change-Id: I2cbfe533a8ce58d337f77f013b0da47a6a91681e Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
| * ostree: patch upstream projectGatis Paeglis2015-11-185-64/+301
| | | | | | | | | | | | | | | | | | | | | | - This allows updating files on the boot partition. - Merges ostree's uEnv.txt with system's uEnv.txt - Adds support for convenience symlinks in top level of the /boot directory. This does not affect the atomic property of an update. Change-Id: Ie654e22d6e26aaa0c1395d226ed967765b0c764b Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
| * ostree: Add GNUPG to runtime dependencies.Gatis Paeglis2015-11-171-0/+1
| | | | | | | | | | | | | | This is required for gpg signing support. Change-Id: Ia1396825453e2038c5d19a4767cadd6f93e1fa28 Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
| * Revert "Build nativesdk-ostree"Gatis Paeglis2015-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit a5323e1fc1f734036d29da80aca037576e9d94b9. Running GNUPG (OSTree dependency) from toolchain is not supported. Change-Id: I00c5ddedfd06a5c56e64c0b3d45007b740f41a80 Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
* | Use Systemd as the init systemSamuli Piippo2015-11-191-1/+7
|/ | | | | | | | | Remove sysvinit from distro features and add Systemd as the default init system. Add necessary service files to all recipes that need them. Change-Id: I9cd4c0239fe16f35145bd3bed08e27196f30ee82 Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* Patch and update ostreeGatis Paeglis2015-10-132-1/+67
| | | | | | | | | Update ostree version and apply a patch that is waiting to be merged in the upstream project. OTA scripts need these changes to function properly. Change-Id: Ia4cbde1e3c55ee1bb1a27492c8325d2fdab5deb8 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Build nativesdk-ostreeGatis Paeglis2015-10-131-0/+2
| | | | | | | | | | The 'ostree' binary is not available as an installable package on Ubuntu. Instead of requiring users to build it from the source code, lets add a native ostree binary to the toolchain. Change-Id: I50031e0fc72bc0585785634a329d1557876a020b Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* Add ostree, dracut and libgsystem recipes.Gatis Paeglis2015-09-251-0/+49
Change-Id: I8fc3b7ec5f2ebeb82e31638037a2dd2e449da48c Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>