[yocto] [DNF YOCTO clarifications] smart was replaced with dnf in Yocto 2.3

_nobody_ _nobody_ nobodyless at gmail.com
Mon Aug 21 23:09:07 PDT 2017


Hello,

I re-build YOCTO 2.2.2, trying to set smart (rpm manager for YOCTO). And I
did this successfully. It worked.

It did NOT work on Pyro, which is YOCTO release 2.3 and 2.3.1. Lurking for
the solutions, I found that smart was replaced by DNF in Pyro (2.3). I
finally run into freenode YOCTO IRC, asking on yocto channel help with DNF.

Now, since I did recompile YOCTO 2.3.1 as:

Quote:
user at localhost build]$ bitbake core-image-minimal
WARNING: Host distribution "fedora-26" has not been validated with this
version of the build system; you may possibly experience unexpected
failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#################################################
################################################## ########| Time: 0:00:00
Loaded 1299 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-poky-linux"
MACHINE = "qemux86-64"
DISTRO = "poky"
DISTRO_VERSION = "2.3.1"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a "

Initialising tasks: 100% |#################################################
################################################## ###| Time: 0:00:05
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3139 tasks of which 2212 didn't need to be
rerun and all succeeded.

Summary: There was 1 WARNING message shown.
[user at localhost build]$
And, YES, it does work for me: on the target, I can see 127 packages
installed with the command: dnf list installed | wc -l

With the command: rpm -qa | wc -l I can see that there is 124 packages
there. copy/paste does not work for me from the the target to F26 server/my
machine.

Now, I also see the repos on my bare metal Fedora 26, which plays server (I
activated on it Apache Server), and the repos are here:

Quote:
[user at localhost rpm]$ uname -a
Linux localhost.localdomain 4.12.5-300.fc26.x86_64 #1 SMP Mon Aug 7
15:27:25 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[user at localhost rpm]$ pwd
/home/user/projects/poky-pyro_2.3.1/build/tmp/deploy/rpm
[user at localhost rpm]$ ls -al
total 376
drwxr-xr-x. 6 user user 4096 Aug 21 13:11 .
drwxr-xr-x. 5 user user 4096 Aug 21 13:10 ..



*drwxr-xr-x. 2 user user 294912 Aug 21 13:11 core2_64drwxr-xr-x. 2 user
user 4096 Aug 21 13:10 noarchdrwxr-xr-x. 2 user user 69632 Aug 21 13:10
qemux86_64drwxr-xr-x. 2 user user 4096 Aug 21 11:15 x86_64_nativesdk*
[user at localhost rpm]$
The question is: where the Hell (in which /etc files on target) I should
put these???

Links to the repos should be something like these:
http://127.0.0.1:8000/core2_64
http://127.0.0.1:8000/noarch
http://127.0.0.1:8000/qemux86_64
http://127.0.0.1:8000/x86_64_nativesdk

Any suggestions/verbal help is appreciated!

Let us go from here... There is more to come!

Thank you.
_nobody_
__________________
I am nobody, and nobody is perfect, therefore I am perfect!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170822/fb8a1d91/attachment.html>


More information about the yocto mailing list