On Mon, Aug 15, 2011 at 4:42 AM, Hans-Joachim Ehlers <HansJoachim.Ehlers@eumetsat.int> wrote:
You can extend the autoyast.xml to not install
<software> <remove-packages config:type="list"> <package>sudo</package> </remove-packages> </software>
And use a init script to install sudo via zypper and lock the package afterwards to prevent overwriting.
Thanks Hans! That did it! After placing "sudo" in the remove-packages section, I used this script (running as a chroot-script): ====== #!/bin/bash mount /dev/cdrom /mnt zypper -n rl sudo zypper -n --no-gpg-checks --no-cd -p /mnt/misc in sudo-1.8.1-3.sles11.i386 zypper -n al sudo ====== I had to mount the DVD manually. Zypper couldn't mount the media if I just referenced the package (still don't know why, the repo is correctly configured). -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org