1 diff -urN util-vserver-0.30.214.orig/distrib/Makefile.am util-vserver-0.30.214.pld/distrib/Makefile.am
2 --- util-vserver-0.30.214.orig/distrib/Makefile.am 2007-09-02 22:06:42.000000000 +0200
3 +++ util-vserver-0.30.214.pld/distrib/Makefile.am 2007-11-15 13:47:44.000000000 +0100
5 breezy/debootstrap.script dapper/debootstrap.script \
6 edgy/debootstrap.script feisty/debootstrap.script \
7 gutsy/debootstrap.script hoary/debootstrap.script \
8 - warty/debootstrap.script
9 + warty/debootstrap.script \
10 + pld-ac/pkgs/01 pld-ac/rpm/macros \
11 + pld-ac/rpmlist.d/00.lst \
12 + pld-th/pkgs/01 pld-th/rpm/macros \
13 + pld-th/rpmlist.d/00.lst \
14 + pld-ti/pkgs/01 pld-ti/rpm/macros \
15 + pld-ti/rpmlist.d/00.lst
17 nobase_confdistrib_DATA = rh9/apt/sources.list \
18 fc1/apt/sources.list \
20 fc5/apt/sources.list \
21 fc6/apt/sources.list \
23 - suse91/apt/sources.list
24 + suse91/apt/sources.list \
25 + pld-ac/poldek/aliases.conf \
26 + pld-ac/poldek/fetch.conf \
27 + pld-ac/poldek/pld-source.conf \
28 + pld-ac/poldek/poldek.conf \
29 + pld-ac/poldek/source.conf \
30 + pld-th/poldek/aliases.conf \
31 + pld-th/poldek/fetch.conf \
32 + pld-th/poldek/pld-source.conf \
33 + pld-th/poldek/poldek.conf \
34 + pld-th/poldek/source.conf \
35 + pld-ti/poldek/aliases.conf \
36 + pld-ti/poldek/fetch.conf \
37 + pld-ti/poldek/pld-source.conf \
38 + pld-ti/poldek/poldek.conf \
39 + pld-ti/poldek/source.conf
42 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \
43 = $(nobase_distrib_SCRIPTS)
45 l="$(sid_style)"; for i in $$l; do \
46 ln -sf debian $(DESTDIR)$(distribdir)/$$i; \
48 + POLDEKARCH=$(shell rpm -E '%{_target_cpu}' 2>/dev/null); \
49 + if [ -z "$$POLDEKARCH" ] ; then POLDEKARCH=$(shell uname -m) ; fi ; \
50 + sed -i -e "s|%ARCH%|$$POLDEKARCH|g" $(DESTDIR)$(confdistribdir)/pld-*/poldek/pld-source.conf
51 $(mkinstalldirs) $(DESTDIR)$(confdir) \
52 $(DESTDIR)$(confdistribdir)/.common/pubkeys \
53 $(DESTDIR)$(confdefaultsdir) \
54 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/pkgs/01 util-vserver-0.30.214.pld/distrib/pld-ac/pkgs/01
55 --- util-vserver-0.30.214.orig/distrib/pld-ac/pkgs/01 1970-01-01 01:00:00.000000000 +0100
56 +++ util-vserver-0.30.214.pld/distrib/pld-ac/pkgs/01 2007-11-15 13:42:58.000000000 +0100
63 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/poldek/aliases.conf util-vserver-0.30.214.pld/distrib/pld-ac/poldek/aliases.conf
64 --- util-vserver-0.30.214.orig/distrib/pld-ac/poldek/aliases.conf 1970-01-01 01:00:00.000000000 +0100
65 +++ util-vserver-0.30.214.pld/distrib/pld-ac/poldek/aliases.conf 2007-11-15 13:42:58.000000000 +0100
67 +# System wide aliases
75 +freshen = install -FN
78 +# for backward compatybility, greedy is on by default now
79 +greedy-upgrade = install -FG
81 +just-install = install -IN
84 +what-requires = search -r
85 +what-provides = search -p
86 +rsearch = search --perlre
91 +#ls = uninstall kernel
97 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/poldek/fetch.conf util-vserver-0.30.214.pld/distrib/pld-ac/poldek/fetch.conf
98 --- util-vserver-0.30.214.orig/distrib/pld-ac/poldek/fetch.conf 1970-01-01 01:00:00.000000000 +0100
99 +++ util-vserver-0.30.214.pld/distrib/pld-ac/poldek/fetch.conf 2007-11-15 13:42:58.000000000 +0100
101 +# Configuration of poldek external file getters. Each [fetcher] section
102 +# declares one external downloader. The syntax is:
105 +# proto = PROTOCOL[ ,PROTOCOL... ]
106 +# cmd = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
107 +# Possible parameters are:
110 +# Unique name of the fetcher. This is an optional parameter, if not set then
111 +# name is taken from the "cmd" parameter value as "$(basename $cmd)".
114 +# Protocol or protocols supported by fetcher. Name of the protocol can be
115 +# completely arbitrary, i.e. if you can handle protocol "foo" by writing
116 +# a script which takes URLs in form 'foo://'.
119 +# Parameter specifies an external command and its invoking syntax.
120 +# The syntax of "cmd" is:
121 +# cmd = COMMAND [ OPTION... ] {%d,%D} {%p,%P}[n]
122 +# Where COMMAND is the name or full path of command, OPTION is command specific
123 +# options. Macro '%d' is replaced with cache directory, '%D' is replaced with
124 +# 'cache directory/file basename', and '%p' with file basename, %P with file full
125 +# path (URL). Optional suffix 'n' with %p and %P means that command can be
126 +# invoked with multiple files at once.
127 +#cmd = foogetter.sh -N %D %Pn
129 +##Configured fetchers
132 +cmd = vfjuggle %d %Pn
135 +proto = http,ftp,https
136 +cmd = wget -N --dot-style=binary -P %d %Pn
148 +cmd = rsync -v %P %d
152 +cmd = vfsmb -v %P %d
156 +#cmd = vfssh.sh %d %Pn
160 +#cmd = foo.sh %d %Pn
163 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/poldek/pld-source.conf util-vserver-0.30.214.pld/distrib/pld-ac/poldek/pld-source.conf
164 --- util-vserver-0.30.214.orig/distrib/pld-ac/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
165 +++ util-vserver-0.30.214.pld/distrib/pld-ac/poldek/pld-source.conf 2007-11-15 13:42:58.000000000 +0100
168 +# PLD <http://www.pld-linux.org/>
171 +_pld_prefix = ftp://ftp.ac.pld-linux.org/dists/ac
173 +## You can use them if you have better connection there
175 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/ac
182 +type = %{_ac_idxtype}
184 +path = %{_pld_prefix}/PLD/%{_pld_arch}/PLD/RPMS/
188 +type = %{_ac_idxtype}
190 +path = %{_pld_prefix}/updates/%{_pld_arch}/
194 +type = %{_ac_idxtype}
196 +path = %{_pld_prefix}/supported/%{_pld_arch}/
201 +type = %{_ac_idxtype}
203 +path = %{_pld_prefix}/ready/%{_pld_arch}/
207 +type = %{_ac_idxtype}
209 +path = %{_pld_prefix}/test/%{_pld_arch}/
211 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/poldek/poldek.conf util-vserver-0.30.214.pld/distrib/pld-ac/poldek/poldek.conf
212 --- util-vserver-0.30.214.orig/distrib/pld-ac/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
213 +++ util-vserver-0.30.214.pld/distrib/pld-ac/poldek/poldek.conf 2007-11-15 13:42:58.000000000 +0100
215 +# poldek main configuration file.
217 +# Some macros. Macros are local, they are not visible in included files
218 +# and macros declared in them are not visible to includer.
219 +# Macros names starts with underscore '_'.
223 +# Both local and remote files may be included. Included files may not contain
224 +# [global] section, it will be ignored anyway.
225 +%include %{_distro}-source.conf
228 +%include source.conf
230 +# External downloaders configuration, not necessary in most cases, cause
231 +# to internal HTTP and FTP client.
232 +#%include fetch.conf
237 +# This parameter allows to configure the default repository index type.
238 +#default index type = pndir
240 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
242 +#cachedir = $HOME/.poldek-cache
244 +# Switch to ordinary user at startup when executed by root
247 +# Permits using root privileges for installation only. Automatically turned
248 +# on when poldek executed as ordinary user.
251 +# Load /etc/apt/sources.list.
252 +#load apt sources list = no
254 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
255 +# This option is a workaround for broken zlib linked into librpm; with enabled
256 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
257 +# *.gz handling automatically.
258 +#vfile external compress = no
260 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
262 +#auto zlib in rpm = yes
264 +# Automatically download whole index if incremental update fails.
267 +# Do not save given paths into created indexes. This option may significantly
268 +# reduce index size. Example (notice missing starting '/'):
269 +# exclude path = usr/share/doc:usr/share/man:usr/src
272 +# Full path name to a PM (rpm for now) binary.
273 +#pm command = /bin/rpm
275 +# Full path name to sudo binary.
276 +#sudo command = /usr/bin/sudo
279 +### File downloaders configuration
281 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
282 +# 'poldek@znienacka.net' is sent)
283 +#vfile ftp sysuser as anon passwd = no
285 +# File getters configuration parameter. By this option URL handlers may be configured.
286 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
287 +# recommended), although it can be changedby this option. Others protocols handled
288 +# by external utilities can be configured also. The syntax is:
289 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
291 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
292 +# sections (placed in fetch.conf in default configuration).
294 +# default fetcher = ftp,http:internal
295 +# default fetcher = https:wget
296 +# default fetcher = cdrom:vfjuggle
297 +# vfjuggle is a cdrom getter supplied with poldek.
298 +#default fetcher = http,ftp: internal
300 +# Proxies for internal FTP and HTTP client may be configured in usual
301 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
302 +# Its syntax is similar to "default fetcher" one:
303 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
305 +# proxy = http: http://w3cache.foo.org:8080
308 +# Comma separated list of hosts or domains which will not be accessed via proxy.
309 +# Option overrides no_proxy environment variable.
311 +# noproxy = localhost, .pl, ftp.foo.bar.org
314 +# Internal HTTP and FTP client is stubborn, it retries to retrive
315 +# file if connection breaks. This option tells it how many times
317 +#vfile retries = 128
320 +### Installation options
322 +# Install packages in small groups instead of doing all-or-nothing
324 +particle install = no
326 +# Do not remove downloaded packages after its successful installation.
327 +#keep downloads = no
329 +# Controls visibility of multiple package instances with different EVR.
330 +# If on, only one, highest version will be visible.
331 +#unique package names = no
333 +# Epoch autopromotion during dependency comparision. RPM specific.
334 +# Set it up if you are using system with rpm prior to 4.2.1 version.
337 +# Confirm packages installation.
338 +#confirm installation = no
340 +# Confirm packages removal.
341 +#confirm removal = yes
343 +# Let the user select package among equivalents.
344 +choose equivalents manually = yes
346 +# Prevent package listed from being upgraded if they are already installed.
347 +# hold = kernel* dev
350 +# Ignore package list - packages fits given mask will be invisible.
351 +# ignore = *-smp-* foo*
352 +ignore = kernel* udev devfs
354 +# Conflicts with already installed packages are treated as resolved
355 +# if at least one of multiple-installed package satisfies conflict.
356 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
358 +#allow duplicates = yes
361 +### RPM specific options
363 +# rpm macros can be set by this option. Examples:
364 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
365 +# Do not install any documentation:
366 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
367 +# rpmdef = _excludedocs 1
371 +### Dependency processing settings
372 +# Subtle dependency processing options, they should not be changed
373 +# unless you know what you are doing
375 +# Automatically install packages required by installed ones.
378 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
379 +# by being uninstalled ones.
382 +# Be yet more greedy; if successor of orphaned package found, and this
383 +# successor drags no packages then upgrade the package instead of process
384 +# its dependencies. Option value is implied by 'greedy' one by defalut.
385 +#aggressive greedy = yes
387 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
388 +# package A requires capability foo >= 1.0 while package B provides "foo"
389 +# without any version. Use with care, it may cause weird dependency errors.
392 +# Taking into account package Obsoletes.
395 +# Taking into account package Conflicts.
397 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/poldek/source.conf util-vserver-0.30.214.pld/distrib/pld-ac/poldek/source.conf
398 --- util-vserver-0.30.214.orig/distrib/pld-ac/poldek/source.conf 1970-01-01 01:00:00.000000000 +0100
399 +++ util-vserver-0.30.214.pld/distrib/pld-ac/poldek/source.conf 2007-11-15 13:42:58.000000000 +0100
401 +# Sample poldek sources configuration
402 +# Every source is configured in his own [source] section.
403 +# Possible parameters are:
406 +# Unique name of the repository.
409 +# Type of repository index. Permitted values are 'pndir', 'pdir', 'apt', 'yum'
410 +# and 'dir' as listed by --stl switch.
413 +# This parameter sets index original type i.e type of repository
414 +# from what this repository is created. Default is 'dir' - means
415 +# that directory of packages is scanned.
416 +#original type = dir
418 +# Unique name of the repository. May be either path or URL.
419 +#path = /some/url/or/dir
421 +# If package index and packages are stored in different locations then
422 +# prefix stands for packages path.
423 +#prefix = /some/url/or/dir
425 +# Controls visibility of multiple package instances with different EVR.
426 +# If on, only one, highest version will be visible.
429 +# Repository priority. If the same packages (equal names and EVR)
430 +# are available in more than one source then package from highest
431 +# prioritized source are taken. Priority is numeric value. Lower number
432 +# means higher priority, and negative priorities are allowed.
433 +# Priority is numeric value.
436 +# Controling if repository index will be implicit loaded. Set it off if
437 +# the index should be loaded on demand only, i.e. if specified directly
441 +# Controls if repository index will be implicit updated. Set it off if
442 +# the index should be updated on demand only, i.e. if specified directly
446 +# Packages PGP/GPG signatures (if any) will be verified before their
450 +# Have the same meaning as [global] parameter. Example:
451 +# hold = kernel* dev
454 +# Have the same meaning as [global] parameter. Example:
455 +# ignore = kernel*smp* dev
458 +# Parameter have the same meaning as [global] parameter.
459 +# exclude path = usr/share/doc:usr/share/man:usr/src
462 +# Preferred language of package descriptions. If not set, taken from locale
463 +# settings. Example:
464 +# lang = pl_PL:lt_LT
470 +path = $HOME/rpm/RPMS
477 +#path = ftp://ftp.foo.bar.org/RPMS/
483 +#ignore = kernel*-smp-*
486 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/rpm/macros util-vserver-0.30.214.pld/distrib/pld-ac/rpm/macros
487 --- util-vserver-0.30.214.orig/distrib/pld-ac/rpm/macros 1970-01-01 01:00:00.000000000 +0100
488 +++ util-vserver-0.30.214.pld/distrib/pld-ac/rpm/macros 2007-11-15 13:42:58.000000000 +0100
490 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
491 +# you have to use at least one language beside 'C'
492 +%_install_langs C:en:pl
493 +%_netsharedpath /dev
494 diff -urN util-vserver-0.30.214.orig/distrib/pld-ac/rpmlist.d/00.lst util-vserver-0.30.214.pld/distrib/pld-ac/rpmlist.d/00.lst
495 --- util-vserver-0.30.214.orig/distrib/pld-ac/rpmlist.d/00.lst 1970-01-01 01:00:00.000000000 +0100
496 +++ util-vserver-0.30.214.pld/distrib/pld-ac/rpmlist.d/00.lst 2007-11-15 13:42:58.000000000 +0100
507 +vserver-packages-*.rpm
508 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/pkgs/01 util-vserver-0.30.214.pld/distrib/pld-th/pkgs/01
509 --- util-vserver-0.30.214.orig/distrib/pld-th/pkgs/01 1970-01-01 01:00:00.000000000 +0100
510 +++ util-vserver-0.30.214.pld/distrib/pld-th/pkgs/01 2007-11-15 13:42:58.000000000 +0100
517 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/poldek/aliases.conf util-vserver-0.30.214.pld/distrib/pld-th/poldek/aliases.conf
518 --- util-vserver-0.30.214.orig/distrib/pld-th/poldek/aliases.conf 1970-01-01 01:00:00.000000000 +0100
519 +++ util-vserver-0.30.214.pld/distrib/pld-th/poldek/aliases.conf 2007-11-15 13:42:58.000000000 +0100
521 +# System wide aliases
529 +freshen = install -FN
530 +upgrade = install -F
532 +# for backward compatybility, greedy is on by default now
533 +greedy-upgrade = install -FG
535 +just-install = install -IN
538 +what-requires = search -r
539 +what-provides = search -p
540 +rsearch = search --perlre
545 +#ls = uninstall kernel
551 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/poldek/fetch.conf util-vserver-0.30.214.pld/distrib/pld-th/poldek/fetch.conf
552 --- util-vserver-0.30.214.orig/distrib/pld-th/poldek/fetch.conf 1970-01-01 01:00:00.000000000 +0100
553 +++ util-vserver-0.30.214.pld/distrib/pld-th/poldek/fetch.conf 2007-11-15 13:42:58.000000000 +0100
555 +# Configuration of poldek external file getters. Each [fetcher] section
556 +# declares one external downloader. The syntax is:
559 +# proto = PROTOCOL[ ,PROTOCOL... ]
560 +# cmd = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
561 +# Possible parameters are:
564 +# Unique name of the fetcher. This is an optional parameter, if not set then
565 +# name is taken from the "cmd" parameter value as "$(basename $cmd)".
568 +# Protocol or protocols supported by fetcher. Name of the protocol can be
569 +# completely arbitrary, i.e. if you can handle protocol "foo" by writing
570 +# a script which takes URLs in form 'foo://'.
573 +# Parameter specifies an external command and its invoking syntax.
574 +# The syntax of "cmd" is:
575 +# cmd = COMMAND [ OPTION... ] {%d,%D} {%p,%P}[n]
576 +# Where COMMAND is the name or full path of command, OPTION is command specific
577 +# options. Macro '%d' is replaced with cache directory, '%D' is replaced with
578 +# 'cache directory/file basename', and '%p' with file basename, %P with file full
579 +# path (URL). Optional suffix 'n' with %p and %P means that command can be
580 +# invoked with multiple files at once.
581 +#cmd = foogetter.sh -N %D %Pn
583 +##Configured fetchers
586 +cmd = vfjuggle %d %Pn
589 +proto = http,ftp,https
590 +cmd = wget -N --dot-style=binary -P %d %Pn
602 +cmd = rsync -v %P %d
606 +cmd = vfsmb -v %P %d
610 +#cmd = vfssh.sh %d %Pn
614 +#cmd = foo.sh %d %Pn
617 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/poldek/pld-source.conf util-vserver-0.30.214.pld/distrib/pld-th/poldek/pld-source.conf
618 --- util-vserver-0.30.214.orig/distrib/pld-th/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
619 +++ util-vserver-0.30.214.pld/distrib/pld-th/poldek/pld-source.conf 2007-11-15 13:42:58.000000000 +0100
621 +# PLD <http://www.pld-linux.org/>
624 +_pld_prefix = ftp://ftp.th.pld-linux.org/dists/th
626 +## You can use them if you have better connection there
628 +#_pld_prefix = ftp://ftp.task.pld-linux.org/dists/th
635 +type = %{_th_idxtype}
637 +path = %{_pld_prefix}/PLD/%{_pld_arch}/RPMS/
640 +type = %{_th_idxtype}
642 +path = %{_pld_prefix}/PLD/noarch/RPMS/
645 +type = %{_th_idxtype}
646 +name = th-updates-security
647 +path = %{_pld_prefix}/updates-security/%{_pld_arch}/RPMS/
650 +type = %{_th_idxtype}
651 +name = th-updates-general
652 +path = %{_pld_prefix}/updates-general/%{_pld_arch}/RPMS/
656 +#type = %{_th_idxtype}
657 +#name = th-supported
658 +#path = %{_pld_prefix}/supported/%{_pld_arch}/RPMS/
662 +type = %{_th_idxtype}
664 +path = %{_pld_prefix}/ready/%{_pld_arch}/RPMS/
668 +type = %{_th_idxtype}
670 +path = %{_pld_prefix}/test/%{_pld_arch}/RPMS/
672 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/poldek/poldek.conf util-vserver-0.30.214.pld/distrib/pld-th/poldek/poldek.conf
673 --- util-vserver-0.30.214.orig/distrib/pld-th/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
674 +++ util-vserver-0.30.214.pld/distrib/pld-th/poldek/poldek.conf 2007-11-15 13:42:58.000000000 +0100
676 +# poldek main configuration file.
678 +# Some macros. Macros are local, they are not visible in included files
679 +# and macros declared in them are not visible to includer.
680 +# Macros names starts with underscore '_'.
684 +# Both local and remote files may be included. Included files may not contain
685 +# [global] section, it will be ignored anyway.
686 +%include %{_distro}-source.conf
689 +%include source.conf
691 +# External downloaders configuration, not necessary in most cases, cause
692 +# to internal HTTP and FTP client.
693 +#%include fetch.conf
698 +# This parameter allows to configure the default repository index type.
699 +#default index type = pndir
701 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
703 +#cachedir = $HOME/.poldek-cache
705 +# Switch to ordinary user at startup when executed by root
708 +# Permits using root privileges for installation only. Automatically turned
709 +# on when poldek executed as ordinary user.
712 +# Load /etc/apt/sources.list.
713 +#load apt sources list = no
715 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
716 +# This option is a workaround for broken zlib linked into librpm; with enabled
717 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
718 +# *.gz handling automatically.
719 +#vfile external compress = no
721 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
723 +#auto zlib in rpm = yes
725 +# Automatically download whole index if incremental update fails.
728 +# Do not save given paths into created indexes. This option may significantly
729 +# reduce index size. Example (notice missing starting '/'):
730 +# exclude path = usr/share/doc:usr/share/man:usr/src
733 +# Full path name to a PM (rpm for now) binary.
734 +#pm command = /bin/rpm
736 +# Full path name to sudo binary.
737 +#sudo command = /usr/bin/sudo
740 +### File downloaders configuration
742 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
743 +# 'poldek@znienacka.net' is sent)
744 +#vfile ftp sysuser as anon passwd = no
746 +# File getters configuration parameter. By this option URL handlers may be configured.
747 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
748 +# recommended), although it can be changedby this option. Others protocols handled
749 +# by external utilities can be configured also. The syntax is:
750 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
752 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
753 +# sections (placed in fetch.conf in default configuration).
755 +# default fetcher = ftp,http:internal
756 +# default fetcher = https:wget
757 +# default fetcher = cdrom:vfjuggle
758 +# vfjuggle is a cdrom getter supplied with poldek.
759 +#default fetcher = http,ftp: internal
761 +# Proxies for internal FTP and HTTP client may be configured in usual
762 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
763 +# Its syntax is similar to "default fetcher" one:
764 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
766 +# proxy = http: http://w3cache.foo.org:8080
769 +# Comma separated list of hosts or domains which will not be accessed via proxy.
770 +# Option overrides no_proxy environment variable.
772 +# noproxy = localhost, .pl, ftp.foo.bar.org
775 +# Internal HTTP and FTP client is stubborn, it retries to retrive
776 +# file if connection breaks. This option tells it how many times
778 +#vfile retries = 128
781 +### Installation options
783 +# Install packages in small groups instead of doing all-or-nothing
785 +particle install = no
787 +# Do not remove downloaded packages after its successful installation.
788 +#keep downloads = no
790 +# Controls visibility of multiple package instances with different EVR.
791 +# If on, only one, highest version will be visible.
792 +#unique package names = no
794 +# Epoch autopromotion during dependency comparision. RPM specific.
795 +# Set it up if you are using system with rpm prior to 4.2.1 version.
798 +# Confirm packages installation.
799 +#confirm installation = no
801 +# Confirm packages removal.
802 +#confirm removal = yes
804 +# Let the user select package among equivalents.
805 +choose equivalents manually = yes
807 +# Prevent package listed from being upgraded if they are already installed.
808 +# hold = kernel* dev
811 +# Ignore package list - packages fits given mask will be invisible.
812 +# ignore = *-smp-* foo*
813 +ignore = kernel* udev devfs
815 +# Conflicts with already installed packages are treated as resolved
816 +# if at least one of multiple-installed package satisfies conflict.
817 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
819 +#allow duplicates = yes
822 +### RPM specific options
824 +# rpm macros can be set by this option. Examples:
825 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
826 +# Do not install any documentation:
827 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
828 +# rpmdef = _excludedocs 1
832 +### Dependency processing settings
833 +# Subtle dependency processing options, they should not be changed
834 +# unless you know what you are doing
836 +# Automatically install packages required by installed ones.
839 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
840 +# by being uninstalled ones.
843 +# Be yet more greedy; if successor of orphaned package found, and this
844 +# successor drags no packages then upgrade the package instead of process
845 +# its dependencies. Option value is implied by 'greedy' one by defalut.
846 +#aggressive greedy = yes
848 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
849 +# package A requires capability foo >= 1.0 while package B provides "foo"
850 +# without any version. Use with care, it may cause weird dependency errors.
853 +# Taking into account package Obsoletes.
856 +# Taking into account package Conflicts.
858 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/poldek/source.conf util-vserver-0.30.214.pld/distrib/pld-th/poldek/source.conf
859 --- util-vserver-0.30.214.orig/distrib/pld-th/poldek/source.conf 1970-01-01 01:00:00.000000000 +0100
860 +++ util-vserver-0.30.214.pld/distrib/pld-th/poldek/source.conf 2007-11-15 13:42:58.000000000 +0100
862 +# Sample poldek sources configuration
863 +# Every source is configured in his own [source] section.
864 +# Possible parameters are:
867 +# Unique name of the repository.
870 +# Type of repository index. Permitted values are 'pndir', 'pdir', 'apt', 'yum'
871 +# and 'dir' as listed by --stl switch.
874 +# This parameter sets index original type i.e type of repository
875 +# from what this repository is created. Default is 'dir' - means
876 +# that directory of packages is scanned.
877 +#original type = dir
879 +# Unique name of the repository. May be either path or URL.
880 +#path = /some/url/or/dir
882 +# If package index and packages are stored in different locations then
883 +# prefix stands for packages path.
884 +#prefix = /some/url/or/dir
886 +# Controls visibility of multiple package instances with different EVR.
887 +# If on, only one, highest version will be visible.
890 +# Repository priority. If the same packages (equal names and EVR)
891 +# are available in more than one source then package from highest
892 +# prioritized source are taken. Priority is numeric value. Lower number
893 +# means higher priority, and negative priorities are allowed.
894 +# Priority is numeric value.
897 +# Controling if repository index will be implicit loaded. Set it off if
898 +# the index should be loaded on demand only, i.e. if specified directly
902 +# Controls if repository index will be implicit updated. Set it off if
903 +# the index should be updated on demand only, i.e. if specified directly
907 +# Packages PGP/GPG signatures (if any) will be verified before their
911 +# Have the same meaning as [global] parameter. Example:
912 +# hold = kernel* dev
915 +# Have the same meaning as [global] parameter. Example:
916 +# ignore = kernel*smp* dev
919 +# Parameter have the same meaning as [global] parameter.
920 +# exclude path = usr/share/doc:usr/share/man:usr/src
923 +# Preferred language of package descriptions. If not set, taken from locale
924 +# settings. Example:
925 +# lang = pl_PL:lt_LT
931 +path = $HOME/rpm/RPMS
938 +#path = ftp://ftp.foo.bar.org/RPMS/
944 +#ignore = kernel*-smp-*
947 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/rpm/macros util-vserver-0.30.214.pld/distrib/pld-th/rpm/macros
948 --- util-vserver-0.30.214.orig/distrib/pld-th/rpm/macros 1970-01-01 01:00:00.000000000 +0100
949 +++ util-vserver-0.30.214.pld/distrib/pld-th/rpm/macros 2007-11-15 13:42:58.000000000 +0100
951 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
952 +# you have to use at least one language beside 'C'
953 +%_install_langs C:en:pl
954 +%_netsharedpath /dev
955 diff -urN util-vserver-0.30.214.orig/distrib/pld-th/rpmlist.d/00.lst util-vserver-0.30.214.pld/distrib/pld-th/rpmlist.d/00.lst
956 --- util-vserver-0.30.214.orig/distrib/pld-th/rpmlist.d/00.lst 1970-01-01 01:00:00.000000000 +0100
957 +++ util-vserver-0.30.214.pld/distrib/pld-th/rpmlist.d/00.lst 2007-11-15 13:42:58.000000000 +0100
968 +vserver-packages-*.rpm
969 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/pkgs/01 util-vserver-0.30.214.pld/distrib/pld-ti/pkgs/01
970 --- util-vserver-0.30.214.orig/distrib/pld-ti/pkgs/01 1970-01-01 01:00:00.000000000 +0100
971 +++ util-vserver-0.30.214.pld/distrib/pld-ti/pkgs/01 2007-11-15 13:42:58.000000000 +0100
978 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/poldek/aliases.conf util-vserver-0.30.214.pld/distrib/pld-ti/poldek/aliases.conf
979 --- util-vserver-0.30.214.orig/distrib/pld-ti/poldek/aliases.conf 1970-01-01 01:00:00.000000000 +0100
980 +++ util-vserver-0.30.214.pld/distrib/pld-ti/poldek/aliases.conf 2007-11-15 13:42:58.000000000 +0100
982 +# System wide aliases
990 +freshen = install -FN
991 +upgrade = install -F
993 +# for backward compatybility, greedy is on by default now
994 +greedy-upgrade = install -FG
996 +just-install = install -IN
999 +what-requires = search -r
1000 +what-provides = search -p
1001 +rsearch = search --perlre
1006 +#ls = uninstall kernel
1012 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/poldek/fetch.conf util-vserver-0.30.214.pld/distrib/pld-ti/poldek/fetch.conf
1013 --- util-vserver-0.30.214.orig/distrib/pld-ti/poldek/fetch.conf 1970-01-01 01:00:00.000000000 +0100
1014 +++ util-vserver-0.30.214.pld/distrib/pld-ti/poldek/fetch.conf 2007-11-15 13:42:58.000000000 +0100
1016 +# Configuration of poldek external file getters. Each [fetcher] section
1017 +# declares one external downloader. The syntax is:
1020 +# proto = PROTOCOL[ ,PROTOCOL... ]
1021 +# cmd = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
1022 +# Possible parameters are:
1025 +# Unique name of the fetcher. This is an optional parameter, if not set then
1026 +# name is taken from the "cmd" parameter value as "$(basename $cmd)".
1029 +# Protocol or protocols supported by fetcher. Name of the protocol can be
1030 +# completely arbitrary, i.e. if you can handle protocol "foo" by writing
1031 +# a script which takes URLs in form 'foo://'.
1034 +# Parameter specifies an external command and its invoking syntax.
1035 +# The syntax of "cmd" is:
1036 +# cmd = COMMAND [ OPTION... ] {%d,%D} {%p,%P}[n]
1037 +# Where COMMAND is the name or full path of command, OPTION is command specific
1038 +# options. Macro '%d' is replaced with cache directory, '%D' is replaced with
1039 +# 'cache directory/file basename', and '%p' with file basename, %P with file full
1040 +# path (URL). Optional suffix 'n' with %p and %P means that command can be
1041 +# invoked with multiple files at once.
1042 +#cmd = foogetter.sh -N %D %Pn
1044 +##Configured fetchers
1047 +cmd = vfjuggle %d %Pn
1050 +proto = http,ftp,https
1051 +cmd = wget -N --dot-style=binary -P %d %Pn
1059 +cmd = curl %P -o %D
1063 +cmd = rsync -v %P %d
1067 +cmd = vfsmb -v %P %d
1071 +#cmd = vfssh.sh %d %Pn
1075 +#cmd = foo.sh %d %Pn
1078 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/poldek/pld-source.conf util-vserver-0.30.214.pld/distrib/pld-ti/poldek/pld-source.conf
1079 --- util-vserver-0.30.214.orig/distrib/pld-ti/poldek/pld-source.conf 1970-01-01 01:00:00.000000000 +0100
1080 +++ util-vserver-0.30.214.pld/distrib/pld-ti/poldek/pld-source.conf 2007-11-15 13:52:31.000000000 +0100
1083 +# Unofficial version of PLD Linux Distribution
1084 +# http://www.pld-linux.org/Titanium
1087 +_prefix = ftp://ftp.titanium.pld-linux.org/branches/titanium
1094 +path = %{_prefix}/PLD/%{_arch}/RPMS/
1099 +path = %{_prefix}/PLD/noarch/RPMS/
1103 +name = titanium-ready
1104 +path = %{_prefix}/ready/%{_arch}/RPMS/
1110 +name = titanium-ready
1111 +path = %{_prefix}/ready/noarch/RPMS/
1117 +name = titanium-test
1118 +path = %{_prefix}/test/%{_arch}/RPMS/
1124 +name = titanium-test
1125 +path = %{_prefix}/test/noarch/RPMS/
1128 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/poldek/poldek.conf util-vserver-0.30.214.pld/distrib/pld-ti/poldek/poldek.conf
1129 --- util-vserver-0.30.214.orig/distrib/pld-ti/poldek/poldek.conf 1970-01-01 01:00:00.000000000 +0100
1130 +++ util-vserver-0.30.214.pld/distrib/pld-ti/poldek/poldek.conf 2007-11-15 13:42:58.000000000 +0100
1132 +# poldek main configuration file.
1134 +# Some macros. Macros are local, they are not visible in included files
1135 +# and macros declared in them are not visible to includer.
1136 +# Macros names starts with underscore '_'.
1140 +# Both local and remote files may be included. Included files may not contain
1141 +# [global] section, it will be ignored anyway.
1142 +%include %{_distro}-source.conf
1145 +%include source.conf
1147 +# External downloaders configuration, not necessary in most cases, cause
1148 +# to internal HTTP and FTP client.
1149 +#%include fetch.conf
1154 +# This parameter allows to configure the default repository index type.
1155 +#default index type = pndir
1157 +# Cache directory for downloaded files. NOTE: that parent directory of cachedir
1159 +#cachedir = $HOME/.poldek-cache
1161 +# Switch to ordinary user at startup when executed by root
1164 +# Permits using root privileges for installation only. Automatically turned
1165 +# on when poldek executed as ordinary user.
1168 +# Load /etc/apt/sources.list.
1169 +#load apt sources list = no
1171 +# Handle gzipped indexes externally (needed on RedHat 9 and Fedora Core 1 and 2).
1172 +# This option is a workaround for broken zlib linked into librpm; with enabled
1173 +# 'auto zlib in rpm' poldek tries to detect such case and then enables external
1174 +# *.gz handling automatically.
1175 +#vfile external compress = no
1177 +# Auto detection of zlib linked into librpm. See 'vfile external compress'
1179 +#auto zlib in rpm = yes
1181 +# Automatically download whole index if incremental update fails.
1184 +# Do not save given paths into created indexes. This option may significantly
1185 +# reduce index size. Example (notice missing starting '/'):
1186 +# exclude path = usr/share/doc:usr/share/man:usr/src
1189 +# Full path name to a PM (rpm for now) binary.
1190 +#pm command = /bin/rpm
1192 +# Full path name to sudo binary.
1193 +#sudo command = /usr/bin/sudo
1196 +### File downloaders configuration
1198 +# Send ${USER}@${HOSTNAME} as anonymous FTP password (by default
1199 +# 'poldek@znienacka.net' is sent)
1200 +#vfile ftp sysuser as anon passwd = no
1202 +# File getters configuration parameter. By this option URL handlers may be configured.
1203 +# To get file from HTTP and FTP servers poldek uses its internal client (what is
1204 +# recommended), although it can be changedby this option. Others protocols handled
1205 +# by external utilities can be configured also. The syntax is:
1206 +# default fetcher = PROTOCOL[,PROTOCOL...]:FETCHER_NAME
1208 +# where FETCHER_NAME is a name of one of the fetcher preconfigured in [fetch]
1209 +# sections (placed in fetch.conf in default configuration).
1211 +# default fetcher = ftp,http:internal
1212 +# default fetcher = https:wget
1213 +# default fetcher = cdrom:vfjuggle
1214 +# vfjuggle is a cdrom getter supplied with poldek.
1215 +#default fetcher = http,ftp: internal
1217 +# Proxies for internal FTP and HTTP client may be configured in usual
1218 +# way, by environment variables ftp_proxy and http_proxy, or by this option.
1219 +# Its syntax is similar to "default fetcher" one:
1220 +# proxy = PROTOCOL[,PROTOCOL...]:PROXY_URL
1222 +# proxy = http: http://w3cache.foo.org:8080
1225 +# Comma separated list of hosts or domains which will not be accessed via proxy.
1226 +# Option overrides no_proxy environment variable.
1228 +# noproxy = localhost, .pl, ftp.foo.bar.org
1231 +# Internal HTTP and FTP client is stubborn, it retries to retrive
1232 +# file if connection breaks. This option tells it how many times
1234 +#vfile retries = 128
1237 +### Installation options
1239 +# Install packages in small groups instead of doing all-or-nothing
1241 +particle install = no
1243 +# Do not remove downloaded packages after its successful installation.
1244 +#keep downloads = no
1246 +# Controls visibility of multiple package instances with different EVR.
1247 +# If on, only one, highest version will be visible.
1248 +#unique package names = no
1250 +# Epoch autopromotion during dependency comparision. RPM specific.
1251 +# Set it up if you are using system with rpm prior to 4.2.1 version.
1254 +# Confirm packages installation.
1255 +#confirm installation = no
1257 +# Confirm packages removal.
1258 +#confirm removal = yes
1260 +# Let the user select package among equivalents.
1261 +choose equivalents manually = yes
1263 +# Prevent package listed from being upgraded if they are already installed.
1264 +# hold = kernel* dev
1267 +# Ignore package list - packages fits given mask will be invisible.
1268 +# ignore = *-smp-* foo*
1269 +ignore = kernel* udev devfs
1271 +# Conflicts with already installed packages are treated as resolved
1272 +# if at least one of multiple-installed package satisfies conflict.
1273 +# rpm doesn't support such cases, so --pm-nodeps is needed (use with
1275 +#allow duplicates = yes
1278 +### RPM specific options
1280 +# rpm macros can be set by this option. Examples:
1281 +# rpmdef = _install_langs pl:pl_PL:lt:lt_LT
1282 +# Do not install any documentation:
1283 +# rpmdef = _netsharedpath /usr/share/info:/usr/share/man
1284 +# rpmdef = _excludedocs 1
1288 +### Dependency processing settings
1289 +# Subtle dependency processing options, they should not be changed
1290 +# unless you know what you are doing
1292 +# Automatically install packages required by installed ones.
1295 +# Greedy upgrades, i.e. upgrade packages which dependencies are broken
1296 +# by being uninstalled ones.
1299 +# Be yet more greedy; if successor of orphaned package found, and this
1300 +# successor drags no packages then upgrade the package instead of process
1301 +# its dependencies. Option value is implied by 'greedy' one by defalut.
1302 +#aggressive greedy = yes
1304 +# Be tolerant for unmatched versioned dependencies which rpm tolerates, e.g.
1305 +# package A requires capability foo >= 1.0 while package B provides "foo"
1306 +# without any version. Use with care, it may cause weird dependency errors.
1309 +# Taking into account package Obsoletes.
1312 +# Taking into account package Conflicts.
1314 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/poldek/source.conf util-vserver-0.30.214.pld/distrib/pld-ti/poldek/source.conf
1315 --- util-vserver-0.30.214.orig/distrib/pld-ti/poldek/source.conf 1970-01-01 01:00:00.000000000 +0100
1316 +++ util-vserver-0.30.214.pld/distrib/pld-ti/poldek/source.conf 2007-11-15 13:42:58.000000000 +0100
1318 +# Sample poldek sources configuration
1319 +# Every source is configured in his own [source] section.
1320 +# Possible parameters are:
1323 +# Unique name of the repository.
1326 +# Type of repository index. Permitted values are 'pndir', 'pdir', 'apt', 'yum'
1327 +# and 'dir' as listed by --stl switch.
1330 +# This parameter sets index original type i.e type of repository
1331 +# from what this repository is created. Default is 'dir' - means
1332 +# that directory of packages is scanned.
1333 +#original type = dir
1335 +# Unique name of the repository. May be either path or URL.
1336 +#path = /some/url/or/dir
1338 +# If package index and packages are stored in different locations then
1339 +# prefix stands for packages path.
1340 +#prefix = /some/url/or/dir
1342 +# Controls visibility of multiple package instances with different EVR.
1343 +# If on, only one, highest version will be visible.
1346 +# Repository priority. If the same packages (equal names and EVR)
1347 +# are available in more than one source then package from highest
1348 +# prioritized source are taken. Priority is numeric value. Lower number
1349 +# means higher priority, and negative priorities are allowed.
1350 +# Priority is numeric value.
1353 +# Controling if repository index will be implicit loaded. Set it off if
1354 +# the index should be loaded on demand only, i.e. if specified directly
1358 +# Controls if repository index will be implicit updated. Set it off if
1359 +# the index should be updated on demand only, i.e. if specified directly
1363 +# Packages PGP/GPG signatures (if any) will be verified before their
1367 +# Have the same meaning as [global] parameter. Example:
1368 +# hold = kernel* dev
1371 +# Have the same meaning as [global] parameter. Example:
1372 +# ignore = kernel*smp* dev
1375 +# Parameter have the same meaning as [global] parameter.
1376 +# exclude path = usr/share/doc:usr/share/man:usr/src
1379 +# Preferred language of package descriptions. If not set, taken from locale
1380 +# settings. Example:
1381 +# lang = pl_PL:lt_LT
1387 +path = $HOME/rpm/RPMS
1394 +#path = ftp://ftp.foo.bar.org/RPMS/
1400 +#ignore = kernel*-smp-*
1403 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/rpm/macros util-vserver-0.30.214.pld/distrib/pld-ti/rpm/macros
1404 --- util-vserver-0.30.214.orig/distrib/pld-ti/rpm/macros 1970-01-01 01:00:00.000000000 +0100
1405 +++ util-vserver-0.30.214.pld/distrib/pld-ti/rpm/macros 2007-11-15 13:42:58.000000000 +0100
1407 +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725
1408 +# you have to use at least one language beside 'C'
1409 +%_install_langs C:en:pl
1410 +%_netsharedpath /dev
1411 diff -urN util-vserver-0.30.214.orig/distrib/pld-ti/rpmlist.d/00.lst util-vserver-0.30.214.pld/distrib/pld-ti/rpmlist.d/00.lst
1412 --- util-vserver-0.30.214.orig/distrib/pld-ti/rpmlist.d/00.lst 1970-01-01 01:00:00.000000000 +0100
1413 +++ util-vserver-0.30.214.pld/distrib/pld-ti/rpmlist.d/00.lst 2007-11-15 13:42:58.000000000 +0100
1424 +vserver-packages-*.rpm
1425 diff -urN util-vserver-0.30.214.orig/scripts/functions util-vserver-0.30.214.pld/scripts/functions
1426 --- util-vserver-0.30.214.orig/scripts/functions 2007-09-02 22:06:41.000000000 +0200
1427 +++ util-vserver-0.30.214.pld/scripts/functions 2007-11-15 13:42:58.000000000 +0100
1428 @@ -403,6 +403,20 @@
1432 +function _pkgSetVarsPoldek
1434 + if test -n "$PKGDIR"; then
1435 + findDir POLDEKETCDIR $PKGDIR/poldeketc $PKGDIR/base/poldek/etc /etc/poldek
1436 + findDir POLDEKCACHEDIR $PKGDIR/poldek-cache $PKGDIR/base/poldek/cache
1438 + findDir POLDEKETCDIR "$VDIR"/etc/poldek /etc/poldek
1439 + findDir POLDEKCACHEDIR "$VDIR"/var/tmp/poldek-cache
1442 + findFile POLDEK_CONFIG "$POLDEKETCDIR"/poldek.conf ""
1443 + test -z "$POLDEK_CONFIG" || export POLDEK_CONFIG
1447 function _pkgMountBase
1450 rpm) _pkgSetVarsRPM;;
1451 apt) _pkgSetVarsApt;;
1452 yum) _pkgSetVarsYum;;
1453 + poldek) _pkgSetVarsPoldek;;
1454 *) echo "Unknown packaging flavor" >&2; exit 1;;
1459 elif test -e "$_pgs_vdir"/etc/mandrake-release; then
1461 + elif test -e "$_pgs_vdir"/etc/pld-release; then
1463 elif test -e "$_pgs_vdir"/etc/debian_version; then
1465 elif test -e "$_pgs_vdir"/etc/SuSE-release; then
1466 @@ -831,6 +848,27 @@
1467 test -n "$have_yum" && return 0 || return 1
1470 +## Usage: pkgmgmt.isPoldekAvailable <cfgdir> <vdir> [<is-internal>]
1471 +function pkgmgmt.isPoldekAvailable
1475 + local is_internal="$3"
1477 + local have_poldek i
1478 + if test -n "$is_internal"; then
1480 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
1483 + for i in /bin /usr/bin /usr/local/bin; do
1484 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
1488 + test -n "$have_poldek" && return 0 || return 1
1492 function vshelper.doSanityCheck
1494 diff -urN util-vserver-0.30.214.orig/scripts/Makefile-files util-vserver-0.30.214.pld/scripts/Makefile-files
1495 --- util-vserver-0.30.214.orig/scripts/Makefile-files 2007-09-02 22:06:41.000000000 +0200
1496 +++ util-vserver-0.30.214.pld/scripts/Makefile-files 2007-11-15 13:42:58.000000000 +0100
1498 scripts/vapt-get-worker \
1499 scripts/vrpm-worker \
1500 scripts/vyum-worker \
1501 + scripts/vpoldek-worker \
1502 scripts/vrpm-preload \
1503 scripts/save_s_context \
1504 scripts/vservers.grabinfo.sh \
1506 scripts/vserver-build.template \
1507 scripts/vserver-build.rsync \
1508 scripts/vserver-build.clone \
1509 + scripts/vserver-build.poldek \
1510 scripts/vserver-build.functions \
1511 scripts/vserver-build.functions.apt \
1512 scripts/vserver-build.functions.rpm \
1513 scripts/vserver-build.functions.pkgmgmt \
1514 scripts/vserver-build.functions.yum \
1515 + scripts/vserver-build.functions.poldek \
1516 scripts/vserver-setup.functions \
1517 scripts/vserver.functions \
1518 scripts/vserver.start \
1520 scripts_pkglib_src_SCRPTS = scripts/pkgmgmt \
1521 scripts/vapt-get-worker \
1523 + scripts/vpoldek-worker \
1524 scripts/vrpm-worker \
1525 scripts/vrpm-preload \
1526 scripts/start-vservers \
1528 scripts_sbin_src_PRGS = scripts/chbind \
1532 scripts/vdispatch-conf \
1535 diff -urN util-vserver-0.30.214.orig/scripts/pkgmgmt util-vserver-0.30.214.pld/scripts/pkgmgmt
1536 --- util-vserver-0.30.214.orig/scripts/pkgmgmt 2007-09-02 22:06:41.000000000 +0200
1537 +++ util-vserver-0.30.214.pld/scripts/pkgmgmt 2007-11-15 13:42:58.000000000 +0100
1542 - (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum "${YUM_RELEASEPKGS[@]}")
1543 + (RH) pkgs=$(vrpm "$1" -- -q --qf '---%{NAME}---\n' rpm apt yum poldek "${YUM_RELEASEPKGS[@]}")
1544 hasSubstring "$pkgs" ---rpm--- || {
1546 * The vserver does not seem to have the 'rpm' package which is required
1551 - hasSubstring "$pkgs" ---apt--- ---yum--- || {
1552 + hasSubstring "$pkgs" ---apt--- ---yum--- ---poldek--- || {
1554 -* The vserver does not seem to have a depsolver like 'apt' or 'yum'
1555 +* The vserver does not seem to have a depsolver like 'apt', 'yum' or 'poldek'
1556 installed. It is suggested to install such a program before setting
1557 up internal package management."
1559 @@ -368,6 +368,131 @@
1563 +function processVserver_PLD()
1566 + local is_internalize=$2
1570 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR pkgmgmt) || \
1571 + cfgdir=$($_VSERVER_INFO "$vserver" APPDIR)/pkgmgmt
1573 + ## Figure out the environment....
1574 + pkgmgmt.isPoldekAvailable "$cfgdir" "$vdir" "$is_internalize" || have_poldek=
1576 + local POLDEKETCDIR=
1577 + local POLDEKCACHEDIR=
1579 + local RPMSTATEDIR=
1581 + ## Create directories and assign variables where configuration
1582 + ## can/will be found on the host
1583 + if test -n "$is_internalize"; then
1584 + verifyInternalPackages "$vserver" RH || test -n "$IS_FORCE" ||
1586 +Can not continue; use '--force' to override this check"
1588 + pushd "$vdir" >/dev/null
1590 + test ! -L var/lib/rpm || {
1591 + $_EXEC_CD /var/lib $_RM rpm &&
1592 + $_EXEC_CD /var/lib $_MKDIR -m755 rpm &&
1593 + $_EXEC_CD /var/lib $_CHOWN rpm:rpm rpm ||
1595 + } </dev/null 2>/dev/null
1597 + for i in var/tmp/poldek-cache etc/rpm etc/poldek; do
1599 + $_EXEC_CD /$(dirname "$i") $_MKDIR -m755 $(basename "$i") || :
1604 + if test -n "$have_poldek"; then
1605 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /etc/poldek
1608 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /etc/rpm /
1609 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state
1611 + mkdir -m755 -p "$cfgdir"
1614 + if test -n "$have_poldek"; then
1615 + findDir POLDEKETCDIR "$cfgdir"/poldeketc "$cfgdir"/base/poldek/etc /
1616 + findDir POLDEKCACHEDIR "$cfgdir"/poldek-cache "$cfgdir"/base/poldek/cache /
1618 + test "$POLDEKETCDIR" != / || POLDEKETCDIR=$cfgdir/base/poldek/etc
1619 + test "$POLDEKCACHEDIR" != / || POLDEKCACHEDIR=$cfgdir/base/poldek/cache
1621 + test -d "$cfgdir"/poldeketc -a -d "$cfgdir"/poldek-cache || need_base=1
1624 + findDir RPMETCDIR "$cfgdir"/rpmetc "$cfgdir"/base/rpm/etc /
1625 + findDir RPMSTATEDIR "$cfgdir"/rpmstate "$cfgdir"/base/rpm/state /
1627 + test "$RPMETCDIR" != / || RPMETCDIR=$cfgdir/base/rpm/etc
1628 + test "$RPMSTATEDIR" != / || RPMSTATEDIR=$cfgdir/base/rpm/state
1630 + test -d "$cfgdir"/rpmetc -a -d "$cfgdir"/rpmstate || need_base=1
1631 + test ! -e "$cfgdir"/base || need_base=
1633 + test -z "$need_base" || ln -s "$PKGCFGDIR" "$cfgdir"/base
1635 + mkdir -m755 -p "$PKGCFGDIR"
1636 + _createDirs "$POLDEKETCDIR" "$POLDEKCACHEDIR" \
1637 + "$RPMETCDIR" "$RPMSTATEDIR"
1640 + ## Copy the files...
1641 + if test -n "$is_internalize"; then
1642 + if test -n "$have_poldek"; then
1643 + _copySecure "$vdir" "$POLDEKETCDIR" /etc/poldek
1644 + pushd "$vdir" >/dev/null
1645 + _hashAuto /etc/poldek.conf '/'
1649 + _copySecure "$vdir" "$RPMETCDIR" /etc/rpm
1650 + _copySecure "$vdir" "$RPMSTATEDIR" /var/lib/rpm
1652 + pushd "$vdir" >/dev/null
1653 + ## remove %_dbpath settings
1654 + _substFile /etc/rpm/macros '/^%_dbpath[ \t].*/D'
1657 + if test -n "$have_poldek"; then
1658 + _copySecureRev "$vdir" /etc/poldek "$POLDEKETCDIR"
1659 + _unhashAuto "$POLDEKETCDIR"/poldek.conf '/'
1662 + _copySecureRev "$vdir" /etc/rpm "$RPMETCDIR"
1663 + _copySecureRev "$vdir" /var/lib/rpm "$RPMSTATEDIR"
1665 + echo -e "%_dbpath\t\t$rpmdb_mntpoint" >>$RPMETCDIR/macros
1669 + if test -n "$is_internalize"; then
1672 + tmpdir=$($_MKTEMPDIR -p /var/tmp pgmgmt.XXXXXX)
1673 + trap "$_RM -rf $tmpdir" EXIT
1674 + pushd "$vdir" >/dev/null
1675 + $_EXEC_CD /var/lib $_MV rpm $tmpdir/
1676 + $_EXEC_CD /var/lib $_LN_S "$rpmdb_mntpoint" rpm
1681 + if test -n "$is_internalize"; then
1682 + $_TOUCH "$cfgdir"/internal
1684 + $_RM -f "$cfgdir"/internal
1688 function processVserver_Debian()
1694 (redhat|mandrake) processVserver_RH "$vserver" "$IS_INTERNALIZE";;
1695 + (pld) processVserver_PLD "$vserver" "$IS_INTERNALIZE";;
1696 (debian) processVserver_Debian "$vserver" "$IS_INTERNALIZE";;
1698 echo $"Vserver style '$style' is not supported for packagemanagment" >&2
1699 diff -urN util-vserver-0.30.214.orig/scripts/util-vserver-vars.pathsubst util-vserver-0.30.214.pld/scripts/util-vserver-vars.pathsubst
1700 --- util-vserver-0.30.214.orig/scripts/util-vserver-vars.pathsubst 2007-09-02 22:06:41.000000000 +0200
1701 +++ util-vserver-0.30.214.pld/scripts/util-vserver-vars.pathsubst 2007-11-15 13:42:58.000000000 +0100
1703 _LIB_VSERVER_BUILD_FUNCTIONS_RPM="$__PKGLIBDIR/vserver-build.functions.rpm"
1704 _LIB_VSERVER_BUILD_FUNCTIONS_YUM="$__PKGLIBDIR/vserver-build.functions.yum"
1705 _LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT="$__PKGLIBDIR/vserver-build.functions.pkgmgmt"
1706 +_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK="$__PKGLIBDIR/vserver-build.functions.poldek"
1707 _LISTDEVIP="$__LEGACYDIR/listdevip"
1708 _LOCKFILE="$__PKGLIBDIR/lockfile"
1709 _MASK2PREFIX="$__PKGLIBDIR/mask2prefix"
1711 _VUNIFY="$__PKGLIBDIR/vunify"
1712 _VYUM="$__SBINDIR/vyum"
1713 _VYUM_WORKER="$__PKGLIBDIR/vyum-worker"
1714 +_VPOLDEK="$__SBINDIR/vpoldek"
1715 +_VPOLDEK_WORKER="$__PKGLIBDIR/vpoldek-worker"
1719 diff -urN util-vserver-0.30.214.orig/scripts/vpkg util-vserver-0.30.214.pld/scripts/vpkg
1720 --- util-vserver-0.30.214.orig/scripts/vpkg 2007-09-02 22:06:41.000000000 +0200
1721 +++ util-vserver-0.30.214.pld/scripts/vpkg 2007-11-15 13:42:58.000000000 +0100
1722 @@ -115,6 +115,44 @@
1730 + ## rpm outputs sometimes '(contains no files)', so return
1731 + ## only the valid output
1733 + rpm_param=( -qac --pipe "$_SED '\!^/!p;d'" );;
1735 + rpm_param=( -Uvh "$@" )
1736 + poldek_param=( --install -v "$@" )
1740 + if test -n "$is_external"; then
1742 + test -d "$cfgdir"/base/poldek -o -d "$cfgdir"/poldeketc || have_poldek=
1745 + for i in /bin /usr/bin /usr/local/bin; do
1746 + test ! -x "$vdir$i"/poldek || { have_poldek=1; break; }
1750 + if test -n "$is_external"; then
1751 + if test "$have_poldek" -a "$poldek_param"; then
1752 + cmd=( "$_VPOLDEK" "$vserver" -- "${poldek_param[@]}" )
1754 + cmd=( "$_VRPM" "$vserver" -- "${rpm_param[@]}" )
1757 + if test "$have_poldek" -a "$poldek_param"; then
1758 + cmd=( "$_VSERVER" --silent "$vserver" exec poldek "${poldek_param[@]}" )
1760 + cmd=( "$_VSERVER" --silent "$vserver" exec rpm "${rpm_param[@]}" )
1767 diff -urN util-vserver-0.30.214.orig/scripts/vpoldek util-vserver-0.30.214.pld/scripts/vpoldek
1768 --- util-vserver-0.30.214.orig/scripts/vpoldek 1970-01-01 01:00:00.000000000 +0100
1769 +++ util-vserver-0.30.214.pld/scripts/vpoldek 2007-11-15 13:42:58.000000000 +0100
1774 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1776 +# This program is free software; you can redistribute it and/or modify
1777 +# it under the terms of the GNU General Public License as published by
1778 +# the Free Software Foundation; version 2 of the License.
1780 +# This program is distributed in the hope that it will be useful,
1781 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1782 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1783 +# GNU General Public License for more details.
1785 +# You should have received a copy of the GNU General Public License
1786 +# along with this program; if not, write to the Free Software
1787 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1789 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1790 +test -e "$UTIL_VSERVER_VARS" || {
1791 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1794 +. "$UTIL_VSERVER_VARS"
1795 +. "$_LIB_FUNCTIONS"
1798 +function showHelp()
1801 +$"Usage: $0 <vserver-name>* [--all] -- <params>+
1803 +Report bugs to <$PACKAGE_BUGREPORT>."
1807 +function showVersion()
1810 +$"vpoldek $PACKAGE_VERSION -- poldek for vservers
1811 +This program is part of $PACKAGE_STRING
1813 +Copyright (C) 2003 Enrico Scholz
1814 +This program is free software; you may redistribute it under the terms of
1815 +the GNU General Public License. This program has absolutely no warranty."
1820 +declare -a vservers=()
1822 +while test "$#" -ge 1; do
1824 + --) shift; break;;
1825 + --help) showHelp $0;;
1826 + --quiet|-q) is_quiet=1 ;;
1828 + getAllVservers tmp
1829 + vservers=( "${vservers[@]}" "${tmp[@]}" )
1833 + *) vservers=( "${vservers[@]}" "$1" )
1840 +for i in "${vservers[@]}"; do
1843 + test -n "$is_quiet" || {
1844 + colorize bold echo -n "vpoldek: operating on vserver "
1845 + colorize bold colorize emph echo "$i"
1846 + xtermTitle "vpoldek: operating on vserver '$i' [$cnt/${#vservers[@]}]"
1849 + if pkgmgmt.isInternal "$i"; then
1850 + $_VSERVER "$i" exec poldek "$@"
1852 + callInNamespace "$i" \
1853 + "$_VNAMESPACE" --new -- "$_VPOLDEK_WORKER" "$i" "$@"
1857 + test $res -eq 0 -o -n "$is_quiet" || {
1858 + colorize error echo -n $"vpoldek failed on vserver '$i' with errorcode $res"
1862 + test -n "$is_quiet" || echo
1865 +test "$cnt" -ge 0 || echo "No vservers specified" >&2
1867 diff -urN util-vserver-0.30.214.orig/scripts/vpoldek-worker util-vserver-0.30.214.pld/scripts/vpoldek-worker
1868 --- util-vserver-0.30.214.orig/scripts/vpoldek-worker 1970-01-01 01:00:00.000000000 +0100
1869 +++ util-vserver-0.30.214.pld/scripts/vpoldek-worker 2007-11-15 13:42:58.000000000 +0100
1874 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1876 +# This program is free software; you can redistribute it and/or modify
1877 +# it under the terms of the GNU General Public License as published by
1878 +# the Free Software Foundation; version 2 of the License.
1880 +# This program is distributed in the hope that it will be useful,
1881 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1882 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1883 +# GNU General Public License for more details.
1885 +# You should have received a copy of the GNU General Public License
1886 +# along with this program; if not, write to the Free Software
1887 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1891 +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
1892 +test -e "$UTIL_VSERVER_VARS" || {
1893 + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
1896 +. "$UTIL_VSERVER_VARS"
1897 +. "$_LIB_FUNCTIONS"
1903 +pkgInit "$vserver" rpm poldek
1905 +test -z "$_POLDEK" || {
1906 + warning $"The environment variable \$_POLDEK is not supported anymore; please use \$POLDEK instead of"
1907 + ${POLDEK:=$_POLDEK}
1910 +exec ${_POLDEK:-poldek} \
1912 + --cachedir=$POLDEKCACHEDIR \
1913 + --conf=$POLDEK_CONFIG \
1914 + --pmcmd=$RPM_BINARY \
1916 diff -urN util-vserver-0.30.214.orig/scripts/vserver-build util-vserver-0.30.214.pld/scripts/vserver-build
1917 --- util-vserver-0.30.214.orig/scripts/vserver-build 2007-09-02 22:06:41.000000000 +0200
1918 +++ util-vserver-0.30.214.pld/scripts/vserver-build 2007-11-15 13:42:58.000000000 +0100
1920 yum ... -- -d <distribution>
1921 ... installs the base-packages of the given distribution with
1923 + poldek ... -- -d <distribution>
1924 + ... installs the base-packages of the given distribution with
1926 rpm ... -- [-d <distribution>] --empty|([--force] [--nodeps] <manifest>)+
1927 ... installs lists of rpm-packages
1928 skeleton ... -- [<cmd> <args>*]
1932 (xlegacy) exec $_VSERVER_LEGACY "$VSERVER_NAME" build "$@" ;;
1933 - (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone)
1934 + (xapt-rpm|xcopy|xskeleton|xdebootstrap|xyum|xrpm|xtemplate|xfai|xrsync|xclone|xpoldek)
1935 . $__PKGLIBDIR/vserver-build.$method
1937 (x) panic $"No build-method specified";;
1938 diff -urN util-vserver-0.30.214.orig/scripts/vserver-build.functions util-vserver-0.30.214.pld/scripts/vserver-build.functions
1939 --- util-vserver-0.30.214.orig/scripts/vserver-build.functions 2007-09-02 22:06:41.000000000 +0200
1940 +++ util-vserver-0.30.214.pld/scripts/vserver-build.functions 2007-11-15 13:42:58.000000000 +0100
1941 @@ -167,6 +167,12 @@
1942 elif test -e /etc/slackware-version; then
1943 set -- $(cat /etc/slackware-version)
1944 DISTRIBUTION=slackware$2
1945 + elif test -e /etc/pld-release; then
1948 + set -- $(cat /etc/pld-release)
1949 + DISTRIBUTION=pld-$(echo $2 | tr A-Z a-z)
1951 elif test -n "$1"; then
1954 diff -urN util-vserver-0.30.214.orig/scripts/vserver-build.functions.poldek util-vserver-0.30.214.pld/scripts/vserver-build.functions.poldek
1955 --- util-vserver-0.30.214.orig/scripts/vserver-build.functions.poldek 1970-01-01 01:00:00.000000000 +0100
1956 +++ util-vserver-0.30.214.pld/scripts/vserver-build.functions.poldek 2007-11-15 13:42:58.000000000 +0100
1958 +# $Id$ --*- sh -*--
1960 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
1962 +# This program is free software; you can redistribute it and/or modify
1963 +# it under the terms of the GNU General Public License as published by
1964 +# the Free Software Foundation; version 2 of the License.
1966 +# This program is distributed in the hope that it will be useful,
1967 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1968 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1969 +# GNU General Public License for more details.
1971 +# You should have received a copy of the GNU General Public License
1972 +# along with this program; if not, write to the Free Software
1973 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1975 +function poldek.installBasePackages
1980 + test "$dir" != / || return 0
1981 + for filelist in "$dir"/*; do
1982 + isRegularFile "$filelist" || continue
1984 + local can_fail=false
1985 + local flags='--install'
1987 + set -- $(<$filelist)
1988 + while test "$#" -gt 0; do
1990 + --reinstall) flags='--reinstall';;
1991 + --can-fail) can_fail=true;;
1996 + "$_VPOLDEK" "$name" -- $flags $* || $can_fail
2000 +function poldek.initVariables
2002 + findFile POLDEKCONFDEFAULT \
2003 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek/poldek.conf" \
2004 + "$__CONFDIR/.defaults/apps/pkgmgmt/poldek/poldek.conf" \
2005 + "$__DISTRIBDIR/$DISTRIBUTION/poldek/poldek.conf" \
2006 + "$__DISTRIBDIR/defaults/poldek/poldek.conf" \
2010 +function poldek.initFilesystem
2012 + mkdir -p "$PKGCFGDIR"/poldek/etc
2013 + mkdir -p "$PKGCFGBASE"/poldek-cache
2015 + $_LN_S "$PKGCFGBASE"/poldek-cache "$PKGCFGDIR"/poldek/cache
2017 + populateDirectory "$PKGCFGDIR/poldek/etc" \
2018 + "$__DISTRIBDIR/defaults/poldek" \
2019 + "$__DISTRIBDIR/$DISTRIBUTION/poldek" \
2020 + "$__CONFDIR/.distributions/$DISTRIBUTION/poldek"
2022 +# test -z "$POLDEKCONFDEFAULT" || \
2023 +# $_LN_S "$POLDEKCONFDEFAULT" "$PKGCFGDIR"/poldek/etc/
2025 diff -urN util-vserver-0.30.214.orig/scripts/vserver-build.poldek util-vserver-0.30.214.pld/scripts/vserver-build.poldek
2026 --- util-vserver-0.30.214.orig/scripts/vserver-build.poldek 1970-01-01 01:00:00.000000000 +0100
2027 +++ util-vserver-0.30.214.pld/scripts/vserver-build.poldek 2007-11-15 13:42:58.000000000 +0100
2029 +# $Id$ --*- sh -*--
2031 +# Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
2033 +# This program is free software; you can redistribute it and/or modify
2034 +# it under the terms of the GNU General Public License as published by
2035 +# the Free Software Foundation; version 2 of the License.
2037 +# This program is distributed in the hope that it will be useful,
2038 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2039 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2040 +# GNU General Public License for more details.
2042 +# You should have received a copy of the GNU General Public License
2043 +# along with this program; if not, write to the Free Software
2044 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2046 +tmp=$(getopt -o +d: --long debug -n "$0" -- "$@") || exit 1
2049 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_RPM"
2050 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_POLDEK"
2051 +. "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT"
2055 + (-d) DISTRIBUTION=$2; shift;;
2056 + (--debug) set -x;;
2057 + (--) shift; break ;;
2058 + (*) echo "vserver-build.poldek: internal error: unrecognized option '$1'" >&2
2069 +pkgmgmt.initVariables
2071 +poldek.initVariables
2073 +base.initFilesystem "$OPTION_FORCE"
2074 +pkgmgmt.initFilesystem "$OPTION_FORCE"
2076 +poldek.initFilesystem
2078 +setup_writeOption "$VSERVER_NAME"
2079 +setup_writeInitialFstab
2081 +test -z "$BUILD_INITPRE" || "$BUILD_INITPRE" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"
2082 +rpm.initDB "$SETUP_CONFDIR"
2083 +rpm.importGPGPubKeys "$SETUP_CONFDIR" \
2084 + "$__CONFDIR/.distributions/$DISTRIBUTION/pubkeys" \
2085 + "$__CONFDIR/.distributions/.common/pubkeys" \
2086 + "$__DISTRIBDIR/$DISTRIBUTION/pubkeys"
2088 +$_VPOLDEK "$SETUP_CONFDIR" -- --update-whole
2089 +poldek.installBasePackages "$SETUP_CONFDIR" "$PKGINSTALLDIR"
2090 +test -z "$BUILD_INITPOST" || "$BUILD_INITPOST" "$SETUP_CONFDIR" "$UTIL_VSERVER_VARS"