Igudeler has made a script to automatic compile and build new kernel package for puppy here:
http://murga-linux.com/puppy/viewtopic.php?t=78385
with this script you can make a kernel package to install in a full hd installation puppy;
thanks to Pemasu i discovered this script, so i edited it to automatic build new iso with the new kernel;
i have also separate a script to only build the iso in a second time after kernel compiled, so you can make changes and easily build a new iso without boot and use remaster tool.
However the new iso can have lot of bugs with programs and system.
The script:
download kernel
make patches
compile kernel
create source sfs
create pet package kernel
create pet package headers
create new puppy iso (edit sfs and update initrd to boot new iso)
I put a install.txt for help into the folder you extract:
instructions:
add the original puppy iso (the same you use to compile, ex: lupu-525.iso) on this directory with the scripts,
edit the variables on 'set.txt'
if you need add patches for kernel on 'patch' folder
DOTconfig is the config kernel (used to compile kernel 3.3.5 with patches ubuntu precise) for compiling, you can edit or change it
open terminal on this directory and digit:
./buid-all.sh
the script download the kernel from set variable, aufs, patch, create new kernel and new updated personal iso (from set.txt),
the only question is to edit (press '1' and ENTER) or left the kernel config with this directory ( press 's' and ENTER);
a 'bark' sound notice you to make a action.
you can create a new initrd, sfs and make a new iso a second time (after compilated new kernel with build-all.sh script) with
./build-iso.sh
(delete first old 'remasterinit - remastersfs - remasteriso' and edit variables on this script);
you can also add and remove programs editing remasterinit and remastersfs folders, so create a new updated iso with script
./build-iso.sh
(you must have previously created 'remasterinit - remastersfs - remasteriso' from 'build-all.sh' or 'build-initrd-sfs.sh' , rename old ***.iso on newiso directory).
Is for testing, you don't need to recompile the kernel without a valid reason, you can use remaster utility on puppy menu.
Here a new iso i made with this script.
http://murga-linux.com/puppy/viewtopic.php?p=627968#627968
Here the tar with the scripts:
Script to update kernel and create new iso
Thank you for sharing this
The reason why I am asking is that I have a fairly modern pc that has Win7 installed on it ( shared with family ), and would not be able to have a full Puppy installation on it; which is why I boot up and run my OS from a flash drive.
Is it possible to run Puppy from a USB drive and do all the compiling on a mounted hard drive and finally create the new ISO on that drive as well?...install in a full hd installation
The reason why I am asking is that I have a fairly modern pc that has Win7 installed on it ( shared with family ), and would not be able to have a full Puppy installation on it; which is why I boot up and run my OS from a flash drive.
Code: Select all
/root/Downloads/build-new-kernel-iso/build-all.sh: line 55: git: command not found
Code: Select all
Press ENTER to begin
Downloading the Aufs sources
Error: failed to download the Aufs sources.
-
- Posts: 49
- Joined: Sat 30 Jan 2010, 19:25
I think old puppy versions (4 and old) haven't git on devx, you can try debian package from here:
http://packages.debian.org/sid/i386/git/download
or
compile from source:
https://github.com/git/git
... yes, you can boot from usb, but you have to make a big save file (2gb ? ) to load devx and compile
http://packages.debian.org/sid/i386/git/download
or
compile from source:
https://github.com/git/git
... yes, you can boot from usb, but you have to make a big save file (2gb ? ) to load devx and compile
If your using Lucid, I have compiled it here already:
Download:
Approx 6mb - GIT:
http://www.datafilehost.com/download-953dfcd2.html
Download:
Approx 6mb - GIT:
http://www.datafilehost.com/download-953dfcd2.html