Ok my god. Got it. It works now. Thanks Raj!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62144): https://lists.yoctoproject.org/g/yocto/message/62144
Mute This Topic: https://lists.yoctoproject.org/mt/103724054/21656
Group Owner: yocto+ow...@list
o :. Anyone can help with this?
Thanks!
Crane
The recipe is like this:
>
>
>
> SUMMARY = " init service at boot"
>
>
>
> LICENSE = "CLOSED"
>
>
>
>
>
>
>
> inherit systemd
>
>
>
>
>
>
>
>
fine. I couldn't figure out why. But anyway it works this way now.
Regards,
Crane
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60924): https://lists.yoctoproject.org/g/yocto/message/60924
Mute This Topic: https://lists.
On Thu, Aug 24, 2023 at 04:21 AM, Mauro wrote:
>
> To Crane: please try to build the image and test it, don't stop at Yocto
> variables analysis step.
Thanks Mauro so much.
Indeed, it is not relevant the value of the variable, but where it is assigned.
It doesn't work to ass
ke this:
>
> EXTRA_USERS_PARAMS=" usermod -p
> '\$6\$CEM0hANiVS9VXN8N\$Q9XK1KTpq2faq2fNbSRLNeeA4mmQsl8g1Gwl3QnTPlRPb5ljCAa./bbhffcthXxUen4jSFL6HKGQPlHZNQkfA/'
> root; useradd -p
> '\$6\$5wVybJkbuowR0iMi\$tnEJEEbXbcRfksKRSt7rjlY1hRERrjqFOlCaa0s1ivISxAHT7MFdcn
On Tue, Aug 22, 2023 at 11:36 AM, Mauro wrote:
>
> Try with this:
>
> EXTRA_USERS_PARAMS=" usermod -p '$(openssl passwd -6 root)' root; useradd
> -p '$(openssl passwd -6 2023)' crane; "
Not working.
Here is the value of the variable becoming:
EXTRA
Here is the variable value:
EXTRA_USERS_PARAMS=" usermod -p 'openssl passwd -6 root' root; useradd -p
'openssl passwd -6 2023' crane; "
Actually no need to add \ before $ symbol. \ is already added as below:
EXTRA_USERS_PARAMS=" usermod -p
'\$6\$9UMdfjs
Thanks Mauro for your input.
I referred two posts from Koan Software in my work. One is to use devtool to
modify recipe and another one is to add system service to image. Very clearly
explained. Thanks!
Good point. I tried, but in my case it looks still not generating the password
and also no
Hello,
I am trying to generate a password for root and add a new user. Here is the
code in the image recipe:
IMAGE_FEATURES:remove = "debug-tweaks"
INHERIT += "extrausers"
EXTRA_USERS_PARAMS += "usermod -P root root; useradd -P 2023 crane"
When using "inheri
Finally find the correct way to do that.
Do "bitbake -c devshell " and then in the folder created use "git
format-patch" to create the patch file.
This way, the patch can be applied.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60827): https://li
You mean S folder?
Yes, to be specific, it is S folder. The reason I just mentioned WORKDIR was to
compare with the irrelevant folder where "diff -ruN" is used to create the
patch.
Or you mean something else?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply
Now the issue is with the patch itself.
The patch is created by using "diff -ruN" is not working. The error is "no file
to patch". I can understand this as the file compared to in the patch doesn't
exist in the $(WORKDIR).
I changed to use "git format-patch" in the $(WORKDIR) to generate the pa
Thanks Raj!
I forgot where I copied this piece of code. I just copied and didn't check and
believed it.
This is the problem!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60747): https://lists.yoctoproject.org/g/yocto/message/60747
Mute This Topi
me as below:
crane@Ubuntu2204:~/yocto-pi/build$ bitbake -e farview-image-base | grep
^FILESEXTRAPATHS=
FILESEXTRAPATHS="__default:"
crane@Ubuntu2204:~/yocto-pi/build$ bitbake -e farview-image-base | grep
^FILESEXTRAPATHS=
FILESEXTRAPATHS="__default:"
crane@Ub
crane@Ubuntu2204:~/yocto-pi/sources/meta-farview/recipes-bsp/bootfiles$ ls
files rpi-config_git.bbappend
crane@Ubuntu2204:~/yocto-pi/sources/meta-farview/recipes-bsp/bootfiles$ ls
files/
0001-disable-bluetooth-and-enable-uart0.patch rpi-cmdline.patch
rpi-config.patch
crane@Ubuntu2204
recipe for the image, the error is the same.
The complete error info is in attached file "bitbake image.txt".
crane@Ubuntu2204:~/yocto-pi/build$ bitbake rpi-config
Loading cache: 100%
|#|
Time: 0:00:00
Loaded
The recipe append name I used is rpi-config_git.bbappend.
It is placed in meta-custom/recipes-bsp/bootfiles/
The layer conf of the custom layer is like this:
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "$
!
Crane
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60729): https://lists.yoctoproject.org/g/yocto/message/60729
Mute This Topic: https://lists.yoctoproject.org/mt/100614184/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https
hs of the recipe and patch are in the custom layer's bblayer.conf.
But Bitbake doesn't search the custom layer for the recipe append.
Is it a proper way to do that? If yes, what might be missing in the
configuration?
Thanks!
Crane
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages
Finally found two ways to do this and worked in my case:
1. use bitbake -c diffconfig to create a fragment config and then add the
fragment config to a .bbappend
2. add an out-of-tree defconfig in .bb
The documentation says out-of-tree defconfig takes precedence. But in my case
KBUILD_DEFCONFIG i
\
"
But this way, the patch couldn't be applied at all. An error is caused.
3. Tried to use git to create a patch in different folder
Most of tries got the same result.
One of them seems applied. But from the result, it is actually not applied.
So, which way should wo
Yes it work.
It looks simply copying the contents to the new one doesn't work.
Thanks!
Crane
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60702): https://lists.yoctoproject.org/g/yocto/message/60702
Mute This Topic:
errors as below:
===
crane@Ubuntu2204:~/yocto-pi/build$ bitbake -k farview-image-base
Loading cache: 100%
|#|
Time: 0:00:00
Loaded 657 entries from dependency cache.
WARNING:
/home
machine.
I wonder if it belongs to the category of "Native Linux Host". If not, how to
set up Ubuntu 22.04 on VMWare.
Thanks!
Crane
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59403): https://lists.yoctoproject.org/g/yocto/message/59403
24 matches
Mail list logo