[Th] vserver + vpoldek + vrpm

Patryk Zawadzki patrys at pld-linux.org
Tue Sep 4 11:12:39 CEST 2007


Yesterday I finally forced vrpm and vpoldek to work predictably.

Details follow:

* vrpm won't work until the attached patch is applied to utils-vserver
(ncontext: vc_net_create(): Invalid argument)

* vpoldek won't work until you:

for i in /etc/vservers/*/apps/pkgmgmt/base/rpm/etc/macros
do
    echo '%_host_os %_os' >> $i
done

The reason is poldek in pm/rpm/misc.c line 200 expands %_host_os macro
which is otherwise not defined in vservers (lack of macro files?).

Anyone (qboosh? ;]) cares to point me in the right place to fix this?
Hope the above info helps anyone.

-- 
Patryk Zawadzki
Generated Content


More information about the pld-devel-en mailing list