I want to provide a new powerpc-utils rpm via a DUD, for yast to use this new rpm
rather than the one from installed DVD.
Is it supposed to work ?
Yes, it is. At least it works for me in SLES12-SP2.
$mkdud -c boo1011529_3.dud --dist tw /home/michel/buildtmp/build-root/standard-ppc64le/home/abuild/rpmbuild/RPMS/ppc64le/
My suspection is that the "tw" distribution name actually does not match
the real Tumbleweed identification seen by linuxrc and then the DUD is ignored...
The dud is handled by linuxrc as creating a mounted squashfs (1) But how this dud
information is supposed to be passed between linuxrc and yast ?
Linuxrc creates /add_on_products.xml file which is then read by YaST, it should
contain something like this:
# cat /add_on_products.xml
<?xml version="1.0"?>
http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<name>Driver Update 0</name>
<url>dir:///update/000/repo?alias=DriverUpdate0</url>
<priority config:type="integer">50</priority>
The URL should point to the directory with your packages (/update/000/repo
in this case). Check that the directory is there and contains the expected packages.
In this case it was tested in SLE12-SP2 with "--dist sle12" option.
Unfortunately I do not know what's the correct distribution identifier
for Tumbleweed... :-(
Or maybe there is bug in linuxrc and it does not create that add_on_products.xml
file.
--
Ladislav Slezák
YaST Developer
SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-factory+owner@opensuse.org