]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
Alternative way to install packages in chroot
authorKacper Kornet <draenog@pld-linux.org>
Fri, 8 Apr 2011 16:02:15 +0000 (17:02 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Tue, 10 Jul 2012 03:59:09 +0000 (04:59 +0100)
When --install-dist is used the required libraries are not installed.
For example sed in chroot is missing libacl.so

admin/install-chroot.sh

index 860334e362ef57c9f00a17959dcb4a557fead94f..633b9d38bedb5fb02b3b6ec0624969f2860cbe01 100755 (executable)
@@ -143,7 +143,8 @@ set -x
 cd $PWD
 rm -rf $chroot_dir
 mkdir -p $chroot_dir/spools/poldek
-poldek --mkdir --install-dist $chroot_dir \
+rpm --root $chroot_dir --initdb
+poldek --root $chroot_dir -i\
        $builder_pkgs $builder_arch_pkgs
 EOF
 chmod 755 install-$chroot_name.sh
This page took 0.050202 seconds and 4 git commands to generate.