Line 18: |
Line 18: |
| single-word command. It would probably serve the targeted-project, | | single-word command. It would probably serve the targeted-project, |
| special-focus case. | | special-focus case. |
− | === Fedora Remix Info === | + | =='''livemedia-creator'''== |
| + | *Newer method in f24 |
| + | :https://jbwillia.wordpress.com/2014/10/29/how-to-build-updated-fedora-live-iso-for-yourself/ |
| + | *Older post |
| + | :https://www.brianlane.com/creating-live-isos-with-livemedia-creator.html |
| + | *Examples in f24 root terminal: |
| + | |
| + | *Must be done first: |
| + | :'''You must be in the same fedora version (f24) first.''' |
| + | setenforce 0 |
| + | === ksflatten === |
| + | ::build works: 05/26/2016 tg |
| + | |
| + | *Link: |
| + | :https://pagure.io/fedora-kickstarts/tree/f24 |
| + | |
| + | ::<dgilmore> satellit: I suggest that you tell people to git clone the repo and not get each piece manually |
| + | |
| + | :Kickstarts need to flattened before use: |
| + | :: hit raw tab and '''save-page-as''' to a local directory (/home/(user)/Downloads/pagure.ks/) |
| + | |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-live-soas.ks |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-live-base.ks |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-live-minimization.ks |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-repo.ks |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-repo-not-rawhide.ks |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-repo-rawhide.ks |
| + | :https://pagure.io/fedora-kickstarts/blob/f24/f/fedora-soas-packages.ks |
| + | |
| + | *switch root terminal to the local directory with the kickstart files (/home/(user)/Downloads/pagure.ks/) |
| + | |
| + | ksflatten -v, --config fedora-live-soas.ks -o flat-fedora-live-soas.ks --version F24 |
| + | |
| + | livemedia-creator --ks /home/(user)/Downloads/pagure.ks/flat-fedora-live-soas.ks --logfile /tmp/lmc-logs/livemedia-out.log --no-virt --resultdir /tmp/lmc --project Fedora-soas-Live --make-iso --volid Fedora-SoaS-flat-live --iso-only --iso-name Fedora-SoaS-flat-live.iso --releasever 24 --title Fedora-SoaS-flat-live --macboot |
| + | |
| + | === Make a remix === |
| + | *edit the bottom of the flat-fedora-live-soas.ks |
| + | :in this section |
| + | %packages |
| + | :add a program (add name) |
| + | :'''-''' delete a program ( put - in front) |
| + | :put '''#''' in front of listed program to not install it |
| + | |
| + | |
| + | :Build takes a long time wait for completion |
| + | :ends with: |
| + | ..........clip........ |
| + | ..........clip........ |
| + | 2016-05-17 16:16:16,110: Disk Image install successful |
| + | 2016-05-17 16:16:16,110: working dir is /var/tmp/lmc-work-rilyz2bm |
| + | 2016-05-17 16:27:38,448: Rebuilding initrds |
| + | 2016-05-17 16:27:38,448: dracut args = ['--xz', '--add', 'livenet dmsquash-live convertfs pollcdrom qemu qemu-net', '--omit', 'plymouth', '--no-hostonly', '--debug', '--no-early-microcode'] |
| + | 2016-05-17 16:27:38,449: rebuilding boot/initramfs-4.5.3-300.fc24.x86_64.img |
| + | 2016-05-17 16:29:15,724: Building boot.iso |
| + | 2016-05-17 16:29:15,784: running x86.tmpl |
| + | 2016-05-17 16:29:48,959: Disk image erased |
| + | 2016-05-17 16:29:49,377: SUMMARY |
| + | 2016-05-17 16:29:49,377: ------- |
| + | 2016-05-17 16:29:49,377: Logs are in /tmp/lmc-logs |
| + | 2016-05-17 16:29:49,377: Results are in /tmp/lmc |
| + | |
| + | ===Retrieve finished live.iso=== |
| + | "Results are in /tmp/lmc" |
| + | *start files application |
| + | *click on '''Files system''' |
| + | :open temp folder |
| + | :open lmc folder |
| + | *click on the '''.....iso''' you just built |
| + | '''copy to''' (mouse right click) '''Home''' with files application |
| + | *Check that it is in Home |
| + | ===Clean Up=== |
| + | :delete the instance in /tmp |
| + | :delete the /tmp directory (cannot run new build unless this is done?) |
| + | |
| + | [root@localhost lmc]# |
| + | [root@localhost lmc]# cd .. |
| + | [root@localhost tmp]# rm -r lmc |
| + | rm: descend into directory 'lmc'? y |
| + | rm: remove regular file 'lmc/Fedora-LUCwks-20160524.iso'? y |
| + | rm: remove directory 'lmc'? y |
| + | [root@localhost tmp]# |
| + | |
| + | |
| + | == Fedora Remix Info == |
| :https://fedoraproject.org/wiki/Remix | | :https://fedoraproject.org/wiki/Remix |
| *Important Info and links | | *Important Info and links |
Line 29: |
Line 112: |
| ::3/11/2014 | | ::3/11/2014 |
| :https://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD?rd=How_to_create_and_use_Fedora_Live_CD | | :https://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD?rd=How_to_create_and_use_Fedora_Live_CD |
| + | :https://fedoraproject.org/wiki/How_to_create_a_Fedora_install_ISO_for_testing?rd=How_to_build_a_Rawhide_ISO_image_for_testing#Build_a_boot.iso |
| | | |
− | === Introduction ===
| + | == Introduction == |
| *Complete Reference on Fedora [https://fedoraproject.org/wiki/Anaconda/Kickstart Anaconda Kickstart] | | *Complete Reference on Fedora [https://fedoraproject.org/wiki/Anaconda/Kickstart Anaconda Kickstart] |
| | | |
Line 82: |
Line 166: |
| ::f20 0.99. - | | ::f20 0.99. - |
| ::f21 0.102.x - | | ::f21 0.102.x - |
| + | ::f22 |
| + | ::f23 |
| + | ::f24 0.108.x - |
| | | |
| ==== Set up your environment ==== | | ==== Set up your environment ==== |
Line 99: |
Line 186: |
| cp /usr/share/spin-kickstarts/*.ks /home/(user*)/spin-kickstarts/ | | cp /usr/share/spin-kickstarts/*.ks /home/(user*)/spin-kickstarts/ |
| cd /home/(user*)/spin-kickstarts/ | | cd /home/(user*)/spin-kickstarts/ |
| + | |
| + | =====ksflatten===== |
| + | *program to convert kickstart files into one file |
| + | *install: |
| + | dnf install /usr/bin/ksflatten |
| + | KSFLATTEN(1) General Commands Manual KSFLATTEN(1) |
| + | |
| + | NAME |
| + | ksflatten — flatten a kickstart file |
| + | |
| + | SYNOPSIS |
| + | ksflatten [-c | --config INFILE] [-o | --output OUTFILE] [-v | --version VERSION] |
| + | |
| + | DESCRIPTION |
| + | ksflatten is a program that takes an input kickstart file potentially containing includes and |
| + | generates an output file with all the includes inlined. |
| + | |
| + | EXIT STATUS |
| + | ksflatten returns 0 on success, and 1 if INFILE does not exist or there is an error parsing |
| + | the kickstart file. |
| + | |
| + | OPTIONS |
| + | -c, --config INFILE |
| + | The name of the input kickstart file. |
| + | |
| + | -o, --output OUTFILE |
| + | Write the flattened kickstart file to OUTFILE, or stdout if no filename is given. |
| + | |
| + | -v, --version VERSION |
| + | |
| + | ======Examples====== |
| + | # /Downloads/spin-kickstarts |
| + | ksflatten -v, --config fedora-livecd-soas.ks -o flat-fedora-livecd-soas.ks --version F21 |
| | | |
| =====git spin-kickstarts===== | | =====git spin-kickstarts===== |
− | ::Updated 8/30/2014 | + | ::Updated 11/09/2014 |
| :https://git.fedorahosted.org/cgit/spin-kickstarts.git/ | | :https://git.fedorahosted.org/cgit/spin-kickstarts.git/ |
| + | :'''https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/?h=f21''' |
| ::'''Recommended for most up to date xxx.ks''' | | ::'''Recommended for most up to date xxx.ks''' |
| :Latest spin-kickstarts used for composes of live cd's | | :Latest spin-kickstarts used for composes of live cd's |
Line 136: |
Line 257: |
| | | |
| *'''KEY''' | | *'''KEY''' |
− | : --fslabel=Soas-v(2-11)-Remix-mmddyr = (The name you specify for the CD remix) | + | : --fslabel=Soas-v(2-14)-Remix-mmddyr = (The name you specify for the CD remix) |
| | | |
| :: Explanation of format for name: (preliminary layout pending approval by Soas) | | :: Explanation of format for name: (preliminary layout pending approval by Soas) |
Line 149: |
Line 270: |
| :::: v10=Fedora 20 sugar 0.99.x | | :::: v10=Fedora 20 sugar 0.99.x |
| :::: v11=Fedora 21 sugar 0102.x | | :::: v11=Fedora 21 sugar 0102.x |
| + | :::: v12=Fedora 22 sugar 0102.x |
| + | :::: v13=Fedora 23 sugar 0104.x |
| + | :::: v14=Fedora 24 sugar 0106.x |
| + | |
| + | |
| :::: mmddyr= The Creation Date | | :::: mmddyr= The Creation Date |
| :: '''Remix is REQUIRED for naming if Soas is used''' | | :: '''Remix is REQUIRED for naming if Soas is used''' |
Line 323: |
Line 449: |
| *http://spins.fedoraunity.org/team-documentation/composing-spins/doing-the-work | | *http://spins.fedoraunity.org/team-documentation/composing-spins/doing-the-work |
| ====spin-kickstarts.git==== | | ====spin-kickstarts.git==== |
| + | *https://pagure.io/fedora-kickstarts/tree/f24 |
| + | :New |
| *http://git.fedorahosted.org/git/?p=spin-kickstarts.git;a=tree;hb=HEAD | | *http://git.fedorahosted.org/git/?p=spin-kickstarts.git;a=tree;hb=HEAD |
| + | :Older depreciated |
| | | |
| ===Dextrose XO-1 & XO-1.5=== | | ===Dextrose XO-1 & XO-1.5=== |
| * [[Dextrose/Building]] | | * [[Dextrose/Building]] |
| | | |
− | ===Fedora Licensing=== | + | ===Licensing=== |
| *http://fedoraproject.org/wiki/Licensing | | *http://fedoraproject.org/wiki/Licensing |
| + | *http://opensource.org/licenses/lgpl-license |
| + | :How to label the license for your VirtualBox exports and Remixed .iso's |
| | | |
| ===Using KIWI with openSUSE to Customize=== | | ===Using KIWI with openSUSE to Customize=== |