summaryrefslogtreecommitdiffstats
path: root/recipes/ostree
Commit message (Collapse)AuthorAgeFilesLines
* ostree: Disable GObject introspectionGatis Paeglis2016-10-241-0/+1
| | | | | | | | | | | | We are not using any language bindings of OSTree. We use the C API, so no need for introspection. And re-enable ostree/qtotaupdate now when the build issue is fixed. Task-number: QTBUG-55559 Change-Id: I1a7407d4e6ac3eca1083b9c28ed7aa206e0ed484 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* ostree: Workaround the SIGCHLD handler issueGatis Paeglis2016-10-202-0/+55
| | | | | | | | | | | | | Glib overwrites forkfd's SIGCHLD handler, this breaks QProcess. This workaround solves the issue for ostree use case. Other parts of the stack are still affected, as there might some code elsewhere that uses QProcess and the buggy Glib subprocess handling code. Change-Id: I7077ad9479d2c7cc6f1f693b8241bd5bcdc640b2 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* ostree: Print pull progress also when not on consoleGatis Paeglis2016-10-202-0/+95
| | | | | | Change-Id: I3944166b61d120f19e31f84abcf26e91a2f8cfb8 Upstream-status: Pending Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Merge remote-tracking branch 'origin/jethro' into mergeSamuli Piippo2016-09-221-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/jethro: Rename last references to b2qt-utils Rename b2qt-utils to qtdeviceutilities toradex: apply u-boot and flashing script changes to colibri-imx7 nitrogen6x: add Nitrogen6QP_MAX and SOMv2 support qt5: update submodules toradex: use latest u-boot and flashing scripts kontron: update to SMARC-sAMX6i BSP release v2.0, RC2 Use code.qt.io with git protocol instead of codereview Use new repo url for utils and appcontroller kontron: patch kernel to support newer vivante drivers Fetch only external repos for repo mirror qt5: update submodules Add rsync to image Fix raspberry3 build error in perl deployment rcar-gen2: USB fixups ostree: Added dependency for systemd qtquickcompiler: update revision qtquickcompiler: update revision Fix typo in RPi overlay config Update meta layers Conflicts: conf/distro/include/toradex.inc meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_blk.scr meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/vf/flash_blk.scr meta-fsl-extras/recipes/u-boot/u-boot-script-toradex/vf/flash_mmc.scr meta-fsl-extras/recipes/u-boot/u-boot-toradex/0001-Update-default-args-for-apalis-imx6.patch meta-fsl-extras/recipes/u-boot/u-boot-toradex_2015.04.bbappend recipes/ostree/ostree.bb recipes/samba/samba_4.1.12.bbappend scripts/manifest_jethro.xml Change-Id: I6b6ec105394f03fb57d8f922e358fef51de1e848
| * ostree: Added dependency for systemdTuomas Heimonen2016-08-291-1/+1
| | | | | | | | | | Change-Id: I43756c89a26988e2073acda53f9cbc358ed0e5d4 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
* | ostree: Update revisonGatis Paeglis2016-08-292-78/+1
| | | | | | | | | | | | | | | | One of the local patches has been merged in the upstream project and is fixed to add thread safety. Change-Id: Ib3cf12ab759226aefbd4c0af5b0ac5100b3490cc Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | Disable use of O_TMPFILE by defaultGatis Paeglis2016-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | It is not uncommon for embedded devices to use relatively older versions of the Linux kernel, where file systems do not support O_TMPFILE (since Linux 3.11) or implementations contain bugs (with fixes available in some > 3.11 version). Change-Id: Ic204bf6dcbdbcece87d42eea8eed9e114bd757ad Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
* | ostree: Update revisonGatis Paeglis2016-08-259-225/+518
|/ | | | | | | | | | | | | - Dependency to libgsystem has been removed by the upstream project. - Booting without initramfs does not require patching kernel anymore. Now ostree-prepare-root can be used as the init process to prepare rootfs for ostree. For more info refer to the ostree's change log. Change-Id: I7de61ffc2f9957055402f7733f16566e635a8e99 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update license headersSamuli Piippo2016-05-181-7/+15
| | | | | | | License changed to GPLv3 + Commercial Change-Id: I267c97216e717ed29071df064337e1bcf83de973 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* ostree: Update version to v2016.5Gatis Paeglis2016-04-289-282/+305
| | | | | | | Our patches should eventually endup in the upstream repo. Change-Id: I7680a77e3426887a41c4a377eb1ac8b782847f06 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
* 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>