pungi-koji vs pungi (legacy)
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2017
    Location
    Europe
    Posts
    5

    pungi-koji vs pungi (legacy)

    Hi,

    I want to use pungi to make a custom iso, to put on an usb key, to install some custom fedora system.
    And I'm a little lost with pungi

    It seems that "old" pungi using python2 will be replaced by a new one called pungi-koji? Or is it a completely different one?
    Because previous pungi is now in subpackage pungi-legacy and not anymore in pungi package, but I don't see information saying that pungi-koji is the new tools.
    And pungi-koji seems completely different with a configuration file and not using anymore a kickstart configuration file. (documentation here: https://pagure.io/docs/pungi/ ) But is it stable and usable now?

    Which tool is actually used to make fedora spin and fedora server (other than live version)?
    pungi (legacy) will not be supported anymore?

    So, can someone tell more about all this?

  2. #2
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    421

    Re: pungi-koji vs pungi (legacy)

    Here is an up-to-date method to create a customized Fedora spin (if you add non-free programs, you should delete Fedora logo, etc because what you have created is no longer a Fedora build): https://fedoraproject.org/wiki/Livem..._use_a_Live_CD

    Here is the first and last section of a flat kickstart that I use to create a cutomized xfce4 Fedora iso with non-free programs (note: you can also add files onto the iso):
    Code:
    #version=DEVEL
    # X Window System configuration information
    xconfig  --startxonboot
    # Keyboard layouts
    keyboard 'us'
    # Root password
    rootpw --iscrypted --lock locked
    # System language
    lang en_US.UTF-8
    # Shutdown after installation
    shutdown
    # System timezone
    timezone US/Pacific
    # Firewall configuration
    firewall --enabled --service=mdns
    # Network information
    network  --bootproto=dhcp --device=link --activate
    repo --name="fedora" --baseurl=http://mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/
    repo --name="fedora-updates" --baseurl=http://mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/updates/28/x86_64/
    repo --name=rpmfusionfree --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-28&arch=x86_64
    repo --name=rpmfusionfreeupdates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-28&arch=x86_64
    repo --name="rpmfusion-nonfree" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-28&arch=x86_64
    repo --name="rpmfusionnon-freeupdates" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-28&arch=x86_64
    repo --name="google-chrome" --baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
    
    # Use network installation
    url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-28&arch=x86_64
    # System authorization information
    auth --useshadow --passalgo=sha512
    # SELinux configuration
    selinux --disabled
    
    # System services
    services --disabled="sshd" --enabled="NetworkManager,ModemManager"
    # System bootloader configuration
    bootloader --location=mbr
    # Clear the Master Boot Record
    zerombr
    #swap size
    part swap --size=512
    # Partition clearing information
    clearpart --all
    # Disk partitioning information
    part / --fstype="ext4" --size=8194
    
    %post
    cat /dev/null > /dev/fstab
    
    ********************* (the middle section has been deleted -- the Forum won't accept threads that are too long)
    
    *********************
    
    #update applications
    dnf -y upgrade
    
    #The following is a file that will be copied to the iso's desktop
    
    #Add wifi passwd file
    echo 'Wifi info for users
    
    Carpinteria
    
    Wifi Access Point (WIFI ROUTER):  ATT7vvvxx447
    password:	2a693%9%3333
    
    
    Morro Bay
    
    Wifi Access Point (wifi router):  ATTkkgg4387g
    password:	7zewqibxyzu2' > /home/liveuser/Desktop/WifiPasswd
    
    
    
    
    # this goes at the end after all other changes. 
    chown -R liveuser:liveuser /home/liveuser
    restorecon -R /home/liveuser
    
    EOF
    
    %end
    
    %packages
    @admin-tools
    @anaconda-tools
    @base-x
    @core
    @dial-up
    @fonts
    @guest-desktop-agents
    @hardware-support
    @input-methods
    @multimedia
    @networkmanager-submodules
    @printing
    @standard
    @xfce-apps
    @xfce-desktop
    @xfce-extra-plugins
    @xfce-media
    @xfce-office
    aajohan-comfortaa-fonts
    anaconda
    dracut-live
    glibc-all-langpacks
    gnome-keyring-pam
    grub2-efi
    kernel
    kernel-modules
    kernel-modules-extra
    memtest86+
    syslinux
    system-config-printer
    wget
    xscreensaver-extras
    -PackageKit*
    -acpid
    -aspell-*
    -autofs
    -coolkey
    -desktop-backgrounds-basic
    -gimp-help
    #-hplip
    -isdn4k-utils
    -mpage
    -numactl
    sane-backends
    -sox
    -xfce4-sensors-plugin
    xsane
    -xsane-gimp
    NetworkManager.x86_64
    NetworkManager-wifi.x86_64
    gcc.x86_64
    vlc.x86_64 
    akmod-wl.x86_64
    kernel-devel.x86_64
    kernel-headers.x86_64
    @libreoffice
    gparted
    google-chrome-stable.x86_64
    -abiword
    -midori
    -fedora-release 
    -fedora-logos 
    -fedora-release-notes 
    generic-release 
    generic-logos :wq
    generic-release-notes
    ffmpeg.x86_64
    gedit.x86_64
    tar
    #dracut-network
    lorax.x86_64
    lorax-lmc-novirt
    pykickstart
    k3b.x86_64
    ImageMagick
    mock
    git
    @virtualization
    vim
    mplayer
    pavucontrol
    blueberry
    dvd+rw-tools.x86_64
    sudo
    
    %end
    Note: On the kickstart you only have to modify the first section (some of the 20 - 30 lines) to correspond to your location, language, etc. and the last section (%packages) where you add packages to your build -- you can eliminate default packages by placing a hyphen (-) in front of the package name.
    Last edited by donatom; 26th May 2018 at 05:51 AM.

  3. #3
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    421

    Re: pungi-koji vs pungi (legacy)

    This is a how-to that I put together a year or so ago. It has been updated : https://forums.fedoraforum.org/showt...emedia-Creator

    This might help you if you choose to use livemedia-creator.

  4. #4
    Join Date
    Nov 2017
    Location
    Europe
    Posts
    5

    Re: pungi-koji vs pungi (legacy)

    Thanks Donatom for your answer and your work!
    Unfortunately, I need to have a non live media for security reason: I need to prove that there are no not needed package on the media used to installed fedora, difficult with a live media... This is why I want to use pungi, as it seems that livemedia-creator is not made for that, at least I don't succeed to do other media than live media with it.
    But please, tell me if I'm wrong and if it's easy to make a no live media with livemedia-creator.

    Actually I try to make a media with pungi-koji. I find some information, as it's used to make the rawhide version everyday: https://fedoraproject.org/wiki/Releases/Rawhide
    And I take shell and configuration files from this: https://pagure.io/pungi-fedora/tree/master
    Try to customize and configure it for my needs, only one no live media to create. Still have some problem to do it, hope I will succeed.

    Note: Sorry for the late answer, I was in vacation last week

  5. #5
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    421

    Re: pungi-koji vs pungi (legacy)

    Maybe this will help (mainly a how-to to use koji): https://fedoraproject.org/wiki/Using...ystem#Packages

Similar Threads

  1. Lorax problem while using Pungi to make a spin
    By bschuhma in forum Fedora Spins & Remixes
    Replies: 3
    Last Post: 24th August 2017, 02:22 PM
  2. Remaster/Respin Fedora, Revisor/Pungi not working
    By Maxim9 in forum Using Fedora
    Replies: 8
    Last Post: 4th January 2010, 04:10 PM
  3. How to use Pungi to create x86_64 spin under i386?
    By Legolegs in forum Using Fedora
    Replies: 0
    Last Post: 18th August 2009, 10:33 PM
  4. pungi initrd.img anaconda
    By xxartemisxx in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 3rd February 2009, 04:00 PM
  5. What's happened to Koji ?
    By leigh123linux in forum Linux Chat
    Replies: 2
    Last Post: 22nd April 2008, 05:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •