Feature changed by: Alexander Orlovskyy (aorlovskyy) Feature #306753, revision 12 Title: zypper - bootstrap: install into given directory openSUSE-11.2: Done Priority Requester: Desirable openSUSE-11.3: Done Priority Requester: Desirable Info Provider: Jan Engelhardt (jengelh) Requested by: Jan Engelhardt (jengelh) Description: Currently, one needs a bit of rpm[1] to initialize a minimal base system [2]. It would be cool if one could just use zypper to calculate all the dependencies. Like: zypper --root /tmp/test install rpm zypper Afterwards, the zypper inside the new chroot can be used to install further packages as desired. [1] http://jengelh.medozas.de/files/bootstrap-11.1-i586.sh [2] perhaps not even functional for a standalone boot, but that's not the point Test Case: * zypper --root /xen/os11.0 --plus-repo [anyURL] install zypper * or you add the repo to the alternative root permanently zypper: -- root /xen/os11.0 ar [anyURL] myrepo $ zypper --root /xen/os11.0 [anycommand] ... Discussion: #2: Ján Kupec (jkupec) (2009-07-09 15:36:35) Doesn't this work already? KIWI is using zypper to do exactly this since ages. Jan, where is the problem? What needs to be done? #3: Elmar Stellnberger ATK (estellnb) (2009-07-10 12:24:05) Hmm, we may want to set up a chroot environment for any other/elder Opensuse distro as well. Shouldn`t it be possible to temporarily add another repo/install media for this purpose? (i.e. this is what debbootstrap can.) zypper --root /xen/os11.0 --source /media/dvd rpm zypper #4: Ján Kupec (jkupec) (2009-07-10 13:38:30) (reply to #3) What makes you think that zypper can't do this? $ zypper --root /xen/os11.0 --plus-repo <anyURL> install zypper or you add the repo to the alternative root permanently $ zypper --root /xen/os11.0 ar <anyURL> myrepo $ zypper --root /xen/os11.0 <anycommand> ... also, a bit OT, but nevertheless - please familiarize yourselves with this command :O) $ zypper [help [command]] #5: Andreas Jaeger (a_jaeger) (2009-07-10 14:51:50) Ok, so this is already done. + #6: Alexander Orlovskyy (aorlovskyy) (2009-10-16 14:54:24) + How i can test this future? -- openSUSE Feature: https://features.opensuse.org/306753