Jesse Keating wrote:
On Saturday 03 February 2007 09:03, Stephanos Manos wrote:
> Note: I'm running FC6 and building inside mock
How are you calling mock? Did you follow my instructions in the pungi wiki?
The error you got is because pkgorder isn't able to connect to /dev/mapper
for some reason.
Yes
using instructions from
https://hosted.fedoraproject.org/projects/pungi/wiki/PungiDocs/RunningPun...
the only thing that i change is the yum conf file with repos pointing to
my local mirror
Stephanos
PS The output of the procedure
[build@ghost ~]$ mock -r fedora-devel-i386-core init
init
clean
prep
This may take a while
ending
done
Finished initializing root
[build@ghost ~]$ /usr/sbin/mock-helper yum --installroot
/var/lib/mock/fedora-development-i386-core/root install pungi
adding ld_preload of LD_PRELOAD=libselinux-mock.so
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
pungi noarch 0.2.2-1.fc7 extras 475 k
Installing for dependencies:
[...] package list
Transaction Summary
=============================================================================
Install 195 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 93 M
warning: createrepo-0.4.4-2.fc6: Header V3 DSA signature: NOKEY, key ID
897da07a
warning: pungi-0.2.2-1.fc7: Header V3 DSA signature: NOKEY, key ID 1ac70ce6
warning: system-config-network-1.3.96-1.fc6: Header V3 DSA signature:
NOKEY, key ID 4f2a6fd2
warning: /etc/yum.conf created as /etc/yum.conf.rpmnew
/proc is empty (not mounted ?)
/proc is empty (not mounted ?)
/proc is empty (not mounted ?)
/proc is empty (not mounted ?)
/proc is empty (not mounted ?)
Installed: pungi.noarch 0:0.2.2-1.fc7
Dependency Installed: GConf2.i386 0:2.16.0-4.fc7 ORBit2.i386
[...] package list
[build@ghost ~]$ sudo cp /etc/resolv.conf
/var/lib/mock/fedora-development-i386-core/root/etc/
[build@ghost ~]$ sudo /dev/MAKEDEV -d
/var/lib/mock/fedora-development-i386-core/root/dev/ -m 6 loop
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
MAKEDEV: mkdir: File exists
[build@ghost ~]$ setarch i386 mock -r fedora-devel-i386-core chroot
"/usr/bin/pungi -c /etc/pungi/f7-test1-desktop.i386"
init
ending
done
Non-zero return value 1 on executing /usr/sbin/mock-helper chroot
/var/lib/mock/fedora-development-i386-core/root /sbin/runuser - root -c
"/usr/bin/pungi -c /etc/pungi/f7-test1-desktop.i386"