Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 24 Aug 2016, 06:14
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64 ISO Builder
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
fatdog

Joined: 16 Apr 2013
Posts: 54

PostPosted: Mon 08 Feb 2016, 13:56    Post subject:  Fatdog64 ISO Builder
Subject description: Build your own custom Fatdog64 ISO from the ground up.
 

As previously alluded in Fatdog64 702 thread, here comes the Fatdog64 ISO Builder. It enables you to build custom Fatdog64 700 series with your own selected packages.

____________________


You can make a customised Fatdog64 ISO in few ways.

You can:
a) use the remaster
b) extract basesfs, unsquashfs it, add/remove packages, and re-build the SFS.

And now you have 3rd option: use the Fatdog64 ISO Builder.
It enables you to build a custom ISO from the ground up, from a given list of packages. No remastering is involved. It is the same builder that we use ourselves to build the official ISO.

Another way to explain it: Fatdog64 ISO Builder is the Fatdog's version of Woof. If you have seen how the "next-generation" branch of Woof-CE (aka woof-ng), you would see a lot of similarities since the woof-ng builder was originally based from this.

_______________________________

Thank you for early testers - you know who you are.

_________________
-= The Fatdog Team (kirk and jamesbond) =-
Contributed Fatdog64 packages thread
This account is used for announcements only. Send PM directly to kirk or jamesbond.

Last edited by fatdog on Sun 14 Feb 2016, 06:57; edited 2 times in total
Back to top
View user's profile Send private message 
fatdog

Joined: 16 Apr 2013
Posts: 54

PostPosted: Mon 08 Feb 2016, 13:56    Post subject:  

Ingredients:
1. The Fatdog64 ISO Builder: http://distro.ibiblio.org/fatdog/iso/builder/fatdog64-iso-builder-2016.02.tar.xz
2. fatdog-initrd, get it from the latest Fatdog64 official ISO.
3. efiboot.img, get it from the latest Fatdog64 official ISO.
4. The package list for the Fatdog version you're trying to build. for 702 it's here: http://distro.ibiblio.org/fatdog/iso/builder/702-pkglist.tar.xz

Item 2-4 is optional.
If you forgot to get 2) - you will be gently reminded at boot.
If you forgot to get 3) - your ISO will not boot on UEFI systems
If you forget to get 4) - it will use built-in pkglist which builds command-line only minimal ISO.

How does the tool work - I'm attaching here the output of README.md from the builder package.

Fatdog64 ISO Builder README wrote:
Fatdog ISO Builder
==================

This is the Fatdog ISO Builder. This package enables you to build custom Fatdog ISO from the list of packages that you specified. The result of this script, when run properly, is an triple-hybrid ISO that will boot as an ISO, or when `dd`-ed into a USB flash drive, on BIOS and UEFI systems.

This is the same set of scripts that is used to build the official Fatdog64 ISO - so if you supply an identical initrd and identical package list (see below for details) - this script would create an ISO that is functionally identical with the official Fatdog64 ISO.

This script has been tested to run only on Fatdog64. It relies on certain tools that is known to exist and work on Fatdog64. It may work on other systems - but if you do that and you have problems, I don't want to hear about it.

This tool is a great alternative to remaster. Remaster more or less does the same thing; this one builds the ISO from the ground-up.

-------------------------------



Main usage
----------

The master script is called build-iso.sh. This script drives all other scripts. You can create a file called `build-iso.conf` and put that in this directory; that file will be sourced and all variables will be used instead of the ones specified in the script.

A default `build-iso.conf` is supplied with the default values given. You can change them to suit your needs.

`build-iso.sh` is capable of producing an ISO, and initrd, or standard Fatdog SFS-es (base sfs, devx sfs, and nls sfs). For the ISO, you can choose the standard humongous initrd, or small initrd, or "micro" initrd.

All the working files will be created in this directory unless you specify otherwise (via `build-iso.conf`). Thus make sure that you put this in a filesystem large enough to contain all the downloaded
packages and the final output.

It will use `tmp` as temporary directory by default; so you will also need plenty of space there. How big the space is needed depends on how many packages you want to build.

-------------------------------



Output
------

By default the output will be placed in the `iso` directory. Inside that directory, there are two scripts - `runiso.sh` and `runsfs.sh`. Both of these will use qemu-system-x86_64 to run the ISO (or fd64.sfs) you have created for testing purposes.

-------------------------------



Notes
-----

Five main ingredients are **not** supplied in this packages.

1. There are no actual packages inside. This will be downloaded by the build scripts.

2. There is no kernel inside. This will be downloaded by the build scripts.

3. There is no initrd inside. The supplied one is a dummy and must be replaced from an existing Fatdog ISO: get a recent ISO, extract out its initrd, put it in a folder called `fatdog-initrd` and use that folder to replace the one here.

If you forgot to do this you will be gently reminded when you boot the resulting ISO ☺

Make sure you remove `kernel-modules.sfs` and `fd64.sfs` from the extracted initrd to save space as they are not used and will be replaced with by the build process anyway.

4. There is no package list. The supplied package lists are dummy ones. They will build a CLI-only system with bash and a few common utilities.

You can start customising your system from here, or you can get a current Fatdog package list and work your way up from there.

5. `efiboot.img`, Fatdog's UEFI bootloader is not included. Grab it from any recent Fatdog ISO distribution, and put it in `fatdog-iso-root`. If you don't have it, you can still build the ISO but it will be built as standard isohybrid and will only boot on BIOS systems (or UEFI with legacy support enabled).

The reasons why these are not included is because they change often. `efiboot.img` is not included because of its size.

-------------------------------

Copyright (C) 2016 - The Fatdog Team.
License: GNU GPL version 2 or later.
Warranty: None. Use it at your own risk.


PS: FatdogArm has a "builder" like this since its beta1 release in 2014. It's located here: http://distro.ibiblio.org/fatdog/arm/images/beta1/fatdog-arm-beta1-meta.tar.bz2

_________________
-= The Fatdog Team (kirk and jamesbond) =-
Contributed Fatdog64 packages thread
This account is used for announcements only. Send PM directly to kirk or jamesbond.

Last edited by fatdog on Sun 14 Feb 2016, 07:16; edited 2 times in total
Back to top
View user's profile Send private message 
fatdog

Joined: 16 Apr 2013
Posts: 54

PostPosted: Mon 08 Feb 2016, 13:56    Post subject:  

Please don't expect too much support on this. It's targeted at people who knows what they're doing, although everyone is welcome to try. You are encouraged to look into the scripts to figure out how it works, and please feel free to edit it to suit your own needs.

Patches welcome, though.

_________________
-= The Fatdog Team (kirk and jamesbond) =-
Contributed Fatdog64 packages thread
This account is used for announcements only. Send PM directly to kirk or jamesbond.

Last edited by fatdog on Sun 14 Feb 2016, 07:41; edited 1 time in total
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 191

PostPosted: Mon 08 Feb 2016, 14:33    Post subject:  

Whoa...

is this a tool that a noob like me can use.
I mean I just select the major names from different type of programs like graphical, multimedia, network, and it will take care of all other things?

Or am I getting too much ahead.

Any way I will give it a noobish try.

Thanks a lot.
Back to top
View user's profile Send private message 
quirkian2new

Joined: 06 Oct 2015
Posts: 55
Location: on the inter-planet train

PostPosted: Mon 08 Feb 2016, 20:51    Post subject:  

OH !

Looking forward to this new toy as I do not want SeaMonkey to be the default browser but I just don't know how to remove it from FD701.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2856
Location: The Blue Marble

PostPosted: Tue 09 Feb 2016, 13:34    Post subject:  

@drunkjedi - sorry to disappoint you. This is not aimed a noob level. There is no GUI, no selection of anything. It a fully command-line tool. You populate the package list, edit some config files, and away it runs making a new ISO. You are still welcome to try, post comments, ask for help, suggestions, etc.

@quirkian - that's exactly what this is for. Don't like seamonkey, just remove it from the list and replace with palemoon or whatever stuff of your choosing, then run it.

I don't have the time to write the details yet, I'll do that asap. Note that since the Fatdog repo is (sort of) a rolling repo, an ISO built from 701 package list may not be the same as the real 701 because the packages that comprise 701 have been updated in between.

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 191

PostPosted: Tue 09 Feb 2016, 13:45    Post subject:  

Ahh, no worries mate, this is still a good news, and I will try it no matter what, I will learn something in the process.

Thanks.
Back to top
View user's profile Send private message 
fatdog

Joined: 16 Apr 2013
Posts: 54

PostPosted: Sun 14 Feb 2016, 07:17    Post subject:  

Bump. Main post updated.
_________________
-= The Fatdog Team (kirk and jamesbond) =-
Contributed Fatdog64 packages thread
This account is used for announcements only. Send PM directly to kirk or jamesbond.
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 4010
Location: Heart of Texas

PostPosted: Sun 14 Feb 2016, 23:33    Post subject:  

I Thought it goes smoothly.
Back to top
View user's profile Send private message 
fatdog

Joined: 16 Apr 2013
Posts: 54

PostPosted: Wed 17 Feb 2016, 09:48    Post subject:  

702-pkglist is updated to build with new glibc (build number -2). The new glibc is patched to avoid CVE-2015-7547.
Fatdog64 702 ISO and SFS are all being re-uploaded, they will be announced in the 702 thread when the re-upload is completed.

_________________
-= The Fatdog Team (kirk and jamesbond) =-
Contributed Fatdog64 packages thread
This account is used for announcements only. Send PM directly to kirk or jamesbond.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0802s ][ Queries: 11 (0.0100s) ][ GZIP on ]