|
Naming images
Thanks Quentin! That's just what I needed. Do you know if there's a variable to control the content of /etc/version? Cheers, -Damien
Thanks Quentin! That's just what I needed. Do you know if there's a variable to control the content of /etc/version? Cheers, -Damien
|
By
Damien LEFEVRE
· #52964
·
|
|
Naming images
Hi, In my build system the generated images are in this format: imagename-machine-timestamp.img For release builds, I'd like to replace the time stamp with the image version. I could rename the image
Hi, In my build system the generated images are in this format: imagename-machine-timestamp.img For release builds, I'd like to replace the time stamp with the image version. I could rename the image
|
By
Damien LEFEVRE
· #52952
·
|
|
cpio issues
Hi, I am working with Tegra Xavier and meta-tegra. During the build process, 2 images get generated: - initramfs (cpio archive) - the actual roofs image initramfs is archived with cpio and since the c
Hi, I am working with Tegra Xavier and meta-tegra. During the build process, 2 images get generated: - initramfs (cpio archive) - the actual roofs image initramfs is archived with cpio and since the c
|
By
Damien LEFEVRE
· #52013
·
|
|
Disable systemd-timesyncd.service in image
Yes SYSTEMD_AUTO_ENABLE_${PN} doesn't apply to systemd recipe core services as they are not installed as separate packages. But I got it working now. The default enable/disable service are defined in
Yes SYSTEMD_AUTO_ENABLE_${PN} doesn't apply to systemd recipe core services as they are not installed as separate packages. But I got it working now. The default enable/disable service are defined in
|
By
Damien LEFEVRE
· #51539
·
|
|
Disable systemd-timesyncd.service in image
Hi, I would like to have systemd-timesyncd.service as part of an image but have it disabled by default. Right now it is enabled by default which causes some issues. I've tried systemd_%.bbappend do_in
Hi, I would like to have systemd-timesyncd.service as part of an image but have it disabled by default. Right now it is enabled by default which causes some issues. I've tried systemd_%.bbappend do_in
|
By
Damien LEFEVRE
· #51532
·
|
|
How to generate opensource licenses credits web page
Hi, I have a distro which is not using any package manager in the image. Images are deployed atomically. I'd like to make a script to generate the credits / acknowledgement web page for all the open s
Hi, I have a distro which is not using any package manager in the image. Images are deployed atomically. I'd like to make a script to generate the credits / acknowledgement web page for all the open s
|
By
Damien LEFEVRE
· #50397
·
|
|
Changing SDKPATH
Hi, I would need that to change the default location for the SDK install script to avoid mistakes with multiple SDKs and ease installations. How can I change the SDKPATH? My distro includes conf/distr
Hi, I would need that to change the default location for the SDK install script to avoid mistakes with multiple SDKs and ease installations. How can I change the SDKPATH? My distro includes conf/distr
|
By
Damien LEFEVRE
· #50313
·
|
|
llvm native
Hi, I added meta-clang layer and it solved my problem. Cheers, -Damien
Hi, I added meta-clang layer and it solved my problem. Cheers, -Damien
|
By
Damien LEFEVRE
· #49763
·
|
|
llvm native
Hi, I'm trying to build a native package which uses llvm. I never used llvm before, so time to learn I've added DEPENDS += "llvm-native" to my recipe but I still get errors LLVM_CONFIG: | CMake Error
Hi, I'm trying to build a native package which uses llvm. I never used llvm before, so time to learn I've added DEPENDS += "llvm-native" to my recipe but I still get errors LLVM_CONFIG: | CMake Error
|
By
Damien LEFEVRE
· #49615
·
|
|
find utility alternative
Hi, I need to run a script using the find ... -empty option which isn't supported with busybox. ``` find: unrecognized: -empty BusyBox v1.30.1 (2020-05-25 15:54:17 UTC) multi-call binary. ``` Do any o
Hi, I need to run a script using the find ... -empty option which isn't supported with busybox. ``` find: unrecognized: -empty BusyBox v1.30.1 (2020-05-25 15:54:17 UTC) multi-call binary. ``` Do any o
|
By
Damien LEFEVRE
· #49557
·
|
|
gpg: can't connect to the agent: File name too long
I think my problem is that the do_image_* are running as fakeroot/pseudo. Is there a way to run this task as a normal local user. I read that I should create the socket when not running under local us
I think my problem is that the do_image_* are running as fakeroot/pseudo. Is there a way to run this task as a normal local user. I read that I should create the socket when not running under local us
|
By
Damien LEFEVRE
· #49484
·
|
|
gpg: can't connect to the agent: File name too long
Hi, I'm using this command from a new image type ''' gpg --homedir home --encrypt --sign --default-key "server@..." --pinentry-mode loopback --passphrase-file server.passphrase --recipient "devic
Hi, I'm using this command from a new image type ''' gpg --homedir home --encrypt --sign --default-key "server@..." --pinentry-mode loopback --passphrase-file server.passphrase --recipient "devic
|
By
Damien LEFEVRE
· #49469
·
|
|
deploy GPG keys into images
Thanks for the tip Rudolf! I found out that gpg has a --homedir flag to do the obvious. Since gpg builds a database, I cannot simply copy the key. Knowing that now, I can just create the gpg database
Thanks for the tip Rudolf! I found out that gpg has a --homedir flag to do the obvious. Since gpg builds a database, I cannot simply copy the key. Knowing that now, I can just create the gpg database
|
By
Damien LEFEVRE
· #49451
·
|
|
deploy GPG keys into images
Hi, I've put GnuPG in my image, and I'd like to deploy a set to public and private keys into the system images. How can I do that from recipes? Thanks, -Damien
Hi, I've put GnuPG in my image, and I'd like to deploy a set to public and private keys into the system images. How can I do that from recipes? Thanks, -Damien
|
By
Damien LEFEVRE
· #49442
·
|
|
PREFERRED_VERSION
OK thanks guys, that's what I though. I did hack 1 since I could, but good to know the hack 2. in case this ever happens for packages I'm not in control of. Cheers, -Damien
OK thanks guys, that's what I though. I did hack 1 since I could, but good to know the hack 2. in case this ever happens for packages I'm not in control of. Cheers, -Damien
|
By
Damien LEFEVRE
· #49411
·
|
|
PREFERRED_VERSION
Hi, Should it be possible to set PREFERRED_VERSION in the image definition files? I have 2 image files: - image1.bb - image2.bb : PREFERRED_VERSION_package_1.0.0 I have a package with 2 versions: - pa
Hi, Should it be possible to set PREFERRED_VERSION in the image definition files? I have 2 image files: - image1.bb - image2.bb : PREFERRED_VERSION_package_1.0.0 I have a package with 2 versions: - pa
|
By
Damien LEFEVRE
· #49407
·
|
|
pkg_postinst_ontarget not executed
OK I found. Yes "opkg configure" will call /var/lib/opkg/info/*.postinst for packages marked as "unpacked" in /var/lib/opkg/status ex: Package: test-deployment-lic Version: 1.0-r0 Status: install ok u
OK I found. Yes "opkg configure" will call /var/lib/opkg/info/*.postinst for packages marked as "unpacked" in /var/lib/opkg/status ex: Package: test-deployment-lic Version: 1.0-r0 Status: install ok u
|
By
Damien LEFEVRE
· #49389
·
|
|
pkg_postinst_ontarget not executed
Thanks Alex, When I do a factory reset, the system detects as a first boot and the script is executed. > cat /var/log/postinstall.log Configuring test-deployment. One thing which puzzles me: the /etc/
Thanks Alex, When I do a factory reset, the system detects as a first boot and the script is executed. > cat /var/log/postinstall.log Configuring test-deployment. One thing which puzzles me: the /etc/
|
By
Damien LEFEVRE
· #49385
·
|
|
pkg_postinst_ontarget not executed
Hi, I have a device with rootfs mounted readonly and with an overlay on top of it to do the factory reset. There's A/B partitioning. So there is a duplicate set of partitions. There's an OTA engine to
Hi, I have a device with rootfs mounted readonly and with an overlay on top of it to do the factory reset. There's A/B partitioning. So there is a duplicate set of partitions. There's an OTA engine to
|
By
Damien LEFEVRE
· #49356
·
|
|
Yocto img file deployment
Hi, I have a yocto image: image.img. On my build PC I have > file image.img image.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,254,63), startsector 1, 802815 se
Hi, I have a yocto image: image.img. On my build PC I have > file image.img image.img: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,254,63), startsector 1, 802815 se
|
By
Damien LEFEVRE
· #49319
·
|