Line 133: |
Line 133: |
| | | |
| *Examples in f25 root terminal: | | *Examples in f25 root terminal: |
| + | === mock === |
| + | you should always do all work in mock, this will allow you to esure that the compose environment matches the target environment |
| + | |
| + | to setup a Fedora 25 x86_64 environment you would run the following |
| + | |
| + | $ mock -r fedora-25-x86_64 --init |
| + | $ mock -r fedora-25-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart |
| + | |
| + | if you wanted a different arch or release you would use the correct mock configuration file |
| + | |
| + | |
| + | ===Install files=== |
| + | updated from fedora page |
| + | 12/15/2016 |
| + | *'''ksflatten is part of pykickstart''' |
| + | |
| + | # dnf install mock |
| + | |
| + | === Documentation === |
| + | *Important |
| + | : http://lorax.readthedocs.io/en/latest/livemedia-creator.html |
| + | : https://github.com/rhinstaller/lorax/blob/master/docs/livemedia-creator.rst |
| + | |
| + | === mock === |
| + | you should always do all work in mock, this will allow you to esure that the compose environment matches the target environment |
| + | |
| + | to setup a Fedora 25 x86_64 environment you would run the following |
| + | |
| + | $ mock -r fedora-25-x86_64 --init |
| + | $ mock -r fedora-25-x86_64 --install lorax-lmc-novirt git vim-minimal pykickstart |
| + | |
| + | if you wanted a different arch or release you would use the correct mock configuration file |
| + | |
| + | === kickstarts === |
| + | inside the mock chroot, clone the kickstarts |
| + | |
| + | $ git clone https://pagure.io/fedora-kickstarts.git |
| + | |
| + | |
| + | |
| ===Install files=== | | ===Install files=== |
| *'''livemedia-creator and ksflatten are part of lorax''' | | *'''livemedia-creator and ksflatten are part of lorax''' |