diskimage-builder/diskimage_builder/elements/zypper-minimal
Andreas Florath e4e23897a1 Refactor: block-device filesystem creation, mount and fstab
This patch finalizes the block device refactoring.  It moves the three
remaining levels (filesystem creation, mount and fstab handling) into
the new python module.

Now it is possible to use any number of disk images, any number of
partitions and used them mounted to different directories.

Notes:

 * unmount_dir : modified to only unmount the subdirs mounted by
   mount_proc_sys_dev().  dib-block-device unmounts
   $TMP_MOUNT_PATH/mnt (see I85e01f3898d3c043071de5fad82307cb091a64a9)

Change-Id: I592c0b1329409307197460cfa8fd69798013f1f8
Signed-off-by: Andreas Florath <andreas@florath.net>
Closes-Bug: #1664924
2017-05-12 13:52:02 +02:00
..
root.d Fix opensuse-minimal element on non-SUSE hosts 2017-04-02 19:37:01 -04:00
element-deps Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
package-installs.yaml Release 1.24.0 2017-01-31 14:14:19 +11:00
README.rst Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00

==============
zypper-minimal
==============
Base element for creating minimal SUSE-based images

This element is incomplete by itself so you probably want to use it along
with the opensuse-minimal one. It requires 'zypper' to be installed on the
host.

Repositories
------------

This element expects the `ZYPPER_REPOS` variable to be exported by the
operating system element. This variable contains repository mappings in 
the following format: `${repo_name}==>${repo_url}`. For example::

 ZYPPER_REPOS="update=>http://download.opensuse.org/update/leap/42.1/oss/ "
 ZYPPER_REPOS+="oss=>http://download.opensuse.org/distribution/leap/42.1/repo/oss/"
 export ZYPPER_REPOS