All Projects → puppylinux-woof-CE → Woof Ce

puppylinux-woof-CE / Woof Ce

Licence: gpl-2.0
woof - the Puppy builder

Programming Languages

shell
77523 projects
bash
514 projects

Labels

Projects that are alternatives of or similar to Woof Ce

Tieguanyin
Activity Builder.
Stars: ✭ 113 (-48.87%)
Mutual labels:  builder
Builder
Lightweight and fast SQL builder for Go language, moved to https://gitea.com/xorm/builder
Stars: ✭ 140 (-36.65%)
Mutual labels:  builder
Package Builder
📦 A composer package builder.
Stars: ✭ 174 (-21.27%)
Mutual labels:  builder
100 Words Design Patterns Java
GoF Design Patterns, each pattern described with story from real life.
Stars: ✭ 117 (-47.06%)
Mutual labels:  builder
Electron Global
One Electron instance for multiple apps
Stars: ✭ 129 (-41.63%)
Mutual labels:  builder
Java Markdown Generator
Java library to generate markdown
Stars: ✭ 159 (-28.05%)
Mutual labels:  builder
Mhworlddata
Generate a SQLite file from MHW data
Stars: ✭ 110 (-50.23%)
Mutual labels:  builder
Cronexpbuilder
Quartz 的Cron任务调度表达式一般人很难理解,在Googole上查询也没有发现类似的代码,所以开发了一个对Quartz Cron 表达式的可视化双向解析和生成的一个java的GUI程序,供使用Quartz的程序员参考和使用.
Stars: ✭ 204 (-7.69%)
Mutual labels:  builder
Domino Ui
Domino-ui
Stars: ✭ 138 (-37.56%)
Mutual labels:  builder
Vercel Rust
Community based builder for using rust on the now/zeit platform
Stars: ✭ 168 (-23.98%)
Mutual labels:  builder
Nginx Builder
A tool to build deb or rpm package of required Nginx version from the source code, with the ability to connect third-party modules. Nginx parameters are set in the yaml configuration file.
Stars: ✭ 123 (-44.34%)
Mutual labels:  builder
Kubler
A generic, extendable build orchestrator.
Stars: ✭ 126 (-42.99%)
Mutual labels:  builder
Zgallery
Android 3rd party library to make implementing galleries more easier
Stars: ✭ 160 (-27.6%)
Mutual labels:  builder
Aura.marshal
A data-marshaling toolset
Stars: ✭ 114 (-48.42%)
Mutual labels:  builder
Urlbuilder
Java Builders: URL builder
Stars: ✭ 174 (-21.27%)
Mutual labels:  builder
Ship Hold
data access framework for Postgresql on nodejs
Stars: ✭ 110 (-50.23%)
Mutual labels:  builder
Elements
Additional content to extend Aurora.
Stars: ✭ 148 (-33.03%)
Mutual labels:  builder
Kubenix
Kubernetes resource builder using nix
Stars: ✭ 223 (+0.9%)
Mutual labels:  builder
Zeus
An Electrifying Build System
Stars: ✭ 176 (-20.36%)
Mutual labels:  builder
Vue Email Editor
Drag-n-Drop Email Editor Component for Vue.js
Stars: ✭ 166 (-24.89%)
Mutual labels:  builder

Woof-CE (woof-Community Edition) is a fork of Barry Kauler's woof2 fossil repository of Nov 11, 2013 commit f6332edbc4a75c262a8fec6e7d39229b0acf32cd.

Currently supported: Slackware, Ubuntu, Debian

Woof-CE has five directories:

  • woof-arch : architecture-dependent (x86, arm) files, mostly binary executables.
  • woof-code : the core of Woof. Mostly scripts.
  • woof-distro : distro-configuration (Debian, Slackware, etc.) files.
  • kernel-kit : scripts to download, patch, configure and build the kernel.
  • initrd-progs: scripts and files to generate the initial ramdisk

To create a working directory, named 'woof-out_', you first have to run the 'merge2out' script. This merges the 5 directories into a directory named 'woof-out-'. You then 'cd' into woof-out_* and run the build scripts.

The great thing about this merge operation is that you can choose exactly what you want to go into woof-out. You can choose the host system that you are building on (usually x86), the target (exs: x86, arm), the compatible-distro (ex: debian), and the compat-distro version (ex: xenial). So, you create woof-out without any confusing inappropriate content.

So, to get going with WoofCE, open a terminal and do this:

./merge2out

cd ../woof-out_

Preparation

  1. Suitable build environment
  • Linux partition (ext2/3/4)
  • At least 6-10GBs of space
  1. Host operating system
  1. Choose a compatible-distro. This is the distro whose packages you are going to 'borrow' to build your Puppy. Open file DISTRO_SPECS in a text editor and change this line: DISTRO_BINARY_COMPAT="ubuntu" to what you want: 'slackware', 'devuan', 'ubuntu', 'debian' or 'puppy'.

Building a Puppy: using the commandline scripts

  1. Download package database files Open a terminal in the 'woof' directory, then run '0setup':

./0setup

1a. OPTIONAL: Tweak common PET package selection

You can edit the variable PKGS_SPECS_TABLE in file DISTRO_PKGS_SPECS-* to choose

the packages that you want in your build.

  1. Download packages About 500MB drive space is required, but this may vary enormously depending on the package selection.

./1download

  1. Build the cut-down generic Puppy-packages

./2createpackages

  1. Build Puppy live-CD This gets built in a directory named 'sandbox3' and as well as the live-CD iso file you will also find the individual built files and the 'devx' file.

./3builddistro

Building a Puppy: using the GUI

There is a simple frontend GUI for the above scripts (and then some).

./woof_gui

It will come up with a tabbed-interface, and basically you go from left-tab to right-tab.

For newcomers, I recommend that you perform a run-through without making any changes, to confirm that everything works.

Newcomer instructions:

SKIP THIS IF LATEST WOOF: 'Download dbs' tab: click the 'UPDATE' button. 'Download pkgs' tab: click the 'DOWNLOAD' button. 'Build pkgs' tab: click the 'BUILD ALL' button. 'Kernel options' tab: choose the latest kernel. 'Build distro' tab: click the 'BUILD DISTRO' button.

...then you will have WoofCE live-CD ISO file and a 'devx' SFS file!


TECHNICAL NOTES

packages-templates directory

any directory in the template, the files in the target pkg will be cut down to the same selection. (even if empty dir). Exception, file named 'PLUSEXTRAFILES' then target will have all files from deb. 0-size file, means get file of same name from deb (even if in different dir) to target. non-zero file, means copy this file from template to target. template files with '-FULL' suffix, rename target file also (exs: in coreutils, util-linux).

Any dir in template with 'PKGVERSION' in name, substitute actual pkg version number in target dir. Except for /dev, /var, all dirs in target are deleted to only those in template, except if file 'PLUSEXTRADIRS' is found in template.

As a last resort, if target pkg is wrong, a file 'FIXUPHACK' is a script that can be at top dir in template. It executes in target, with current-dir set to where FIXUPHACK is located. (ex: perl_tiny). Ran into problem slackware post-install scripts messing things up. See near bottom of '2createpackages' how damage is limited. Also DISABLE_POST_INSTALL_SCRIPT=yes in FIXUPHACK to disable entirely.

If a dir in template has files in it then target is cut down (unless PLUSEXTRAFILES present), however there are some exceptions (such as .so regular files).

Packages-puppy-*

Notice that there are 'Packages-puppy-noarch-official', also 'Packages-puppy-common-official'

The single-digit '-2-', '-3-', '-4-', '-5-' files reside on ibiblio.org also. These files list the complete contents of each repository.

Puppy filenames

The main Puppy files are:

vmlinuz, initrd.gz, puppy.sfs, zdrv.sfs, fdrv.sfs, adrv.sfs, ydrv.sfs

Versioning is put into the last two, for example:

vmlinuz, initrd.gz, puppy_slacko_7.0.0, zdrv_slacko_7.0.0.sfs fdrv_slacko_7.0.0.sfs, adrv_slacko_7.0.0.sfs, ydrv_slacko_7.0.0.sfs

...those last two names are intended to be unique for that build of Puppy, so they can be found at bootup.

DISTRO_SPECS file

The filenames are stored in the built Puppy, in /etc/DISTRO_SPECS. For example:

DISTRO_PUPPYSFS='puppy_slacko_7.0.0.sfs' DISTRO_ZDRVSFS='zdrv_slacko_7.0.0.sfs' DISTRO_FDRVSFS='fdrv_slacko_7.0.0.sfs' DISTRO_ADRVSFS='adrv_slacko_7.0.0.sfs' DISTRO_YDRVSFS='ydrv_slacko_7.0.0.sfs'

So, any script that wants to know what the names are can read these variables.

Woof 3builddistro also copies DISTRO_SPECS into the initrd.gz, so that the 'init' script can see what files to search for.

However, in a running Puppy, you can find out the filenames in the way that scripts have done before, by reading 'PUPSFS' and 'ZDRV' variables in /etc/rc.d/PUPSTATE.

In fact, to clarify the difference between these two sets of variables, I have put this comment into /etc/DISTRO_SPECS:

#Note, the .sfs files below are what the 'init' script in initrd.gz searches for, #for the partition, path and actual files loaded, see PUPSFS and ZDRV in /etc/rc.d/PUPSTATE

=================================================================

by 01micko

Woof-CE, a fork of woof2 can build the same as woof2 however a new feature has been added as of today. It now has the ability to build a distro with out modules in the initrd.gz, a feature which had been pioneered by Fatdog developers kirk and jamesbond. This has a number of advantages over the legacy kernel builds.

  1. No messy copying kernel modules from the initial ram disk to the root system.
  2. Ease of changing kernels.

I have named this the 'huge' type kernel, for want of a better term. The rationale for this is that Slackware developers name their default kernel "huge-$some_suffix". The reason is that the vmlinuz kernel image contains all the necessary filesystem and hardware drivers to get the system to boot and hand over to the real running system. Once that occurs, kernel modules are loaded to bring up the rest of the hardware and extra filesystems if necessary.

"kernel-kit", part of woof-CE, has the ability to produce one of these 'huge' style kernel packages. Please read the relevant README and the comments in "build.conf" inside the kernel-kit directory.

If you have built a "huge" style kernel with kernel-kit then place the package in the "huge_kernel" directory at the root of your woof installation. If not, one will be downloaded for you after you invoke 3builddistro from the woof-gui or CLI. You do get a choice of which version you want. Be sure you choose the correct architecure. All 32 bit builds are suffixed with either i486, i686 or x86. All 64 bit builds are suffixed x86_64. At the end you will end up with an iso image, devx and checksums as usual.


Regards, Barry Kauler puppylinux.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].