[yocto] [PATCH] package.bbclass: Changed PACKAGESPLITFUNCS execution order

2017-04-18 Thread Oleksandr Poznyak
Fixes [YOCTO #11343] I've added runtime PACKAGESPLITFUNCS value modification in the context of do_package() function so that populate_packages_updatealternatives function is allways executed before populate_packages_updatercd Signed-off-by: Oleksandr Poznyak --- meta/classes/package.bb

[yocto] [PATCH] package.bbclass: Changed PACKAGESPLITFUNCS execution order

2017-04-13 Thread Oleksandr Poznyak
Fixes [YOCTO #11343] I've added runtime PACKAGESPLITFUNCS value modification in the context of do_package() function so that populate_packages_updatealternatives function is allways executed before populate_packages_updatercd Signed-off-by: Oleksandr Poznyak --- meta/classes/package.bb

Re: [yocto] Problems with do_rootfs when changing the user password

2016-06-09 Thread Oleksandr Poznyak
Hi, Its better to change root passwd within ROOTFS_POSTPROCESS_COMMAND Something like that: set_root_passwd() { .change passwd here } ROOTFS_POSTPROCESS_COMMAND += " set_root_passwd;" Thanks, Oleksandr Poznyak! On Thu, Jun 9, 2016 at 12:00 PM, wrote: > Hej > > I

Re: [yocto] Per image customizations

2016-06-08 Thread Oleksandr Poznyak
ysvinit-inittab" RCONFLICTS_${PN} = "sysvinit-inittab" Thanks, Oleksandr Poznyak! On Wed, Jun 8, 2016 at 2:23 AM, Paul Eggleton wrote: > On Tue, 07 Jun 2016 16:07:26 Edward Wingate wrote: > > On Tue, Jun 7, 2016 at 1:47 PM, Paul Eggleton > > wrote: > > > So

Re: [yocto] Per image customizations

2016-06-07 Thread Oleksandr Poznyak
Thanks, Paul. You are absolutely correct. On Tue, Jun 7, 2016 at 1:20 PM, Paul Eggleton wrote: > On Tue, 07 Jun 2016 00:10:58 Oleksandr Poznyak wrote: > > Unfortunately You can't have two *.bbappend files per one package > (recipe). > > Let's clarify that for the ben

Re: [yocto] Per image customizations

2016-06-06 Thread Oleksandr Poznyak
l sysvinit -> your sysvinit. In this situation You will have several recipes. Thanks, Oleksandr Poznyak! On Mon, Jun 6, 2016 at 11:55 PM, Edward Wingate wrote: > On Wed, Jun 1, 2016 at 7:15 PM, Diego wrote: > > > > Hi Oleksandr, > > > > your approach is really interes

Re: [yocto] Per image customizations

2016-06-03 Thread Oleksandr Poznyak
, > > In data mercoledì 1 giugno 2016 21:57:32, Oleksandr Poznyak ha scritto: > > Here is the content of bbappend recipe for base-files recipe: > > > > FILESEXTRAPATHS_append := "${THISDIR}/${PN}" > > > > SRC_URI += "file://fstab-flash \ > >

Re: [yocto] rootfs mounted read-only on Live USB (x86-64)

2016-06-03 Thread Oleksandr Poznyak
Hi, Check if "read-only-rootfs" feature is added to any of these variables either in your local.conf or your image bitbake recipe: Something like that: IMAGE_FEATURES = "read-only-rootfs" EXTRA_IMAGE_FEATURES += "read-only-rootfs" Thanks, Oleksandr Poznyak! O

[yocto] Enable chroot for nativesdk

2016-06-02 Thread Oleksandr Poznyak
rpath /opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/lib:/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/lib:/lib:/usr/lib Thanks, Oleksandr Poznyak! -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] How to set a cmake cache variable to a spezific value?

2016-06-02 Thread Oleksandr Poznyak
Hi, Just add to recipe: inherit cmake EXTRA_OECMAKE += " -DVARIABLE_NAME=value" On Thu, Jun 2, 2016 at 4:24 PM, Burton, Ross wrote: > > 2016-05-30 12:59 GMT+01:00 : > >> I want to build a recipe for a cmake based application. To make it run I >> need to set a cached cmake variable. >> > > EXTR

Re: [yocto] Recipe Debug - QA Issue

2016-06-02 Thread Oleksandr Poznyak
WinSystems, Inc. > > (972) 571-8657 > > www.winsystems.com > > > > *From:* Oleksandr Poznyak [mailto:oleksandr.pozn...@gmail.com] > *Sent:* Wednesday, June 01, 2016 11:20 AM > > *To:* Paul DeMetrotion > *Cc:* yocto@yoctoproject.org > *Subject:* Re: [yocto] Recipe Debug -

Re: [yocto] Per image customizations

2016-06-01 Thread Oleksandr Poznyak
-flash/etc/fstab") else: shutil.copy("${WORKDIR}/fstab-regular", "${PKGDEST}/${PN}-regular/etc/fstab") } This will produce two separate packages that will replace base-files package. Moreover, this trick allows You to modify base-files package separately

Re: [yocto] Recipe Debug - QA Issue

2016-06-01 Thread Oleksandr Poznyak
the > FILES_${PN} line and have the same issue. It appears that the problem is > with the do_install_append() section. > > > > Paul DeMetrotion > > Software Guru > > WinSystems, Inc. > > (972) 571-8657 > > www.winsystems.com > > > > *From:* Ol

Re: [yocto] Recipe Debug - QA Issue

2016-06-01 Thread Oleksandr Poznyak
Hi, 1) It's more common to use FILES_${PN} += ... 2) Please, remove ${D} from FILES_${PN} Try this: FILES_${PN} += " \ ${kmoddir}/onebox_common_gpl.ko \ ${kmoddir}/onebox_gpl.ko \ ${kmoddir}/onebox_nongpl.ko \ ${kmoddir}/onebox_wlan_gpl.ko \ ${kmoddir}/onebox_wlan_nongpl.ko \

[yocto] Fwd: Changelog creation for a list of recipes

2016-06-01 Thread Oleksandr Poznyak
= "1" This should produce ${DEPLOY_DIR}/changelog file and add there changes in repos of specific recipes in a simple form: For example: my_recipe: #5410 Add some features to my_recipe Signed-off-by: Oleksandr Poznyak Oleksandr Poznyak This will make inergration of Yo

Re: [yocto] Per image customizations

2016-06-01 Thread Oleksandr Poznyak
Don't forget to add your fstab/inittab files into CONFFILES_${PN} cause if the package that includes them will be changed and You'll update it via package system, your POSTPROCESS hacks will be overwritten. Anyway, its better to avoid POSTPROCESS if possible. 1) Create *.bbappend recipe base-files