(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Sep 2020, 15:29
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Build scripts for small debian live images (similar to woof)
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 4 of 11 [155 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 9, 10, 11 Next
Author Message
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Fri 14 Feb 2014, 05:35    Post subject:  

Hi Toni,
Quote:
I just answered Anikin's questions. He wants to use /live/cow with Cat.


yep I know, thanks for answering Very Happy , I am not regulary on. It would be interesting to build CAT with config/CAT
Code:
DISTRO='squeeze'


I think squeeze uses live-tools 2.x, so this would be a /live/cow distro
cheers
emil
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Fri 14 Feb 2014, 16:43    Post subject: Building new CAT - including local repo
Subject description: need more entropy
 

I am in the process to build a new CAT, which should have some more software. I want to include some of the debs from Debian-Wheezy-light. I tried to create a local apt repository on my computer and use this to host the debs. I tried to create a sign key, but *LOL* system won't let me, it says:

Quote:
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 281 more bytes)
...+++++
+++++
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.


So I decided I post a short HowTo to gain this necessary entropy...
HowTo set up a local signed apt repository and use it with the Debian-light-Builder scripts


1. apt-get install dpkg-dev
2. create a directory and copy your homemade deb files in
3. cd to that directory and run dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
4. to have this repo used from your local machine:
Code:
echo "deb file:${LOCAL_REPO} ./" >> /etc/apt/sources.list

5. apt-get update
6. follow instructions to create your RSA key (gpg --gen-key):
http://ubuntuforums.org/showthread.php?t=1090731
7. To use the key on your local machine you need to:
Code:
apt-key add public-key


with this step you can happily install and uninstall from your own repo of debs. However I didn|t manage to make this work during live build in the chroot environment, Maybe another time...

Last edited by emil on Sun 16 Feb 2014, 04:12; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sat 15 Feb 2014, 11:53    Post subject: Office CAT with Libreoffice and other goodies
Subject description: Version CAT-041
 

I updated the first post

Download build scripts: CAT-scripts-0.41.tar.gz (6,7 MB)

Download ISO: CAT-0.41.iso (412 MB)
md5sum

hope you like it...

Last edited by emil on Sat 15 Feb 2014, 14:40; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 15 Feb 2014, 12:32    Post subject:  

Thank you, Emil.
I really like to see some of the extra stuff in Cat-O.41
Unfortunately I test most on old hardware and the RAM is not enough for some wheezy apps like iceweasel for example.

Just a thought from me:
If the build script is the project maybe it will be better to post only the build scripts without the new iso result. it might sounds bad but I think many of the readers in this thread will prefer just to test the new iso without testing the script. Nothing wrong in that of course...
But having the script only with explanation what it builds may make them curious to see the result and to give more constructive comments about the script it self. And to experiment more with the script.
Otherwise you will get comments only about the resulted iso. I don't know if this is what you really need as help for this project.
It is only my point of view.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sat 15 Feb 2014, 13:38    Post subject:  

Hi Toni,
I thought I post the iso too, because to run the scripts is best from a debian system. The iso and the scripts together with working internet and debian repositories constitute a self bootstrapping system. Anyhow I do not plan to post any new isos in the near future, I will use CAT-0.41 which is very close to pure debian and gain experience with it. I do not wan't to compete for size, functionality or user base and it is of course possible to run the scripts from Debian-light-Wheezy.

My Goal is still to make a new small Sage live CD someday, but to achieve that I have to learn more about debian. And learning is best while using it. So I need a workable system for my daily stuff, office applications, email and such...

The scripts are cool. Until now I used just a small fraction of possible functionality and got good results. For someone with experience it will be possible to build much better (smaller?, 64bit, 686, oldstable, testing, different WM) systems.

kind regards
emil
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 15 Feb 2014, 13:43    Post subject:  

Hi, Emil.

Still very light on resources on boot. Only the heavy applications make my system slow if I run them.
I like the keyboard.sh switcher. Smile It doesn't have phonetic layouts but I guess it will be easy to add this as option. Unfortunately it need zenity packages and it adds too much for my needs Sad
I don't know if you prefer a separate scripts for reboot and shutdown, but you can have them easy as start menu buttons from /usr/share/icewm/preferences:
Code:
#  Command to shutdown the system
ShutdownCommand="/sbin/poweroff"

#  Command to reboot the system
RebootCommand="/sbin/reboot"

Haven't test to add sudo but I guess it will work for user account this way also if you like to give user permissions to use them.
Running the build-shell to build cat-0.41 my self now. I will try to edit it for Light-Wheezy similar build.
If build script is able to run from GUI with choice what architecture and packages to include to build your own iso image it will be great.

Toni
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 15 Feb 2014, 13:52    Post subject:  

emil wrote:
I will use CAT-0.41 which is very close to pure debian and gain experience with it. I do not wan't to compete for size, functionality or user base and it is of course possible to run the scripts from Debian-light-Wheezy

Hi, Emil.
I think you missuderstand my words. Nothing wrong to compete for anything.
I like to try to use this script to build something for my needs in the future.
I just think comments for resulted iso does not help improoving the script.
Do you think it is possible to have some kind of GUI with choices for the build script in general?

Toni
Back to top
View user's profile Send private message MSN Messenger 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sat 15 Feb 2014, 14:18    Post subject:  

Quote:
I don't know if you prefer a separate scripts for reboot and shutdown


Tony, I am just ignorant and of course there will be much better possibilties to improve the system! The keyboard switcher is not from me, but from Tierry Monteil. I just went with the most simple solutions I could imagine.

I dont know about a GUI for the scripts, I think a Text editor is enough. The settings are defined in the config directory:

eg. from the /config/default file:
Code:
ARCHITECTURE='i386'
DISTRO='wheezy'
..
LINUX_FLAVOURS='686-pae'


so DISTRO='squeeze'
LINUX_FLAVOUR='486'
should build something for your "low ram monster'
Others can use "amd64" for modern hardware.

If you want to build without the heavy applications then look at the /config/CAT file:

Code:
IMAGE='iso-hybrid'
RECOMMENDS='false'
INDICES='false'
LINUX_FLAVOURS='486'

NON_FREE_WIRELESS='2'
MODULES='CAT wireless icewm medium-rw keep media office printing keyboard stripped'


You could ommit the media, office and printing modules to build a smaller iso ALso set NONFREE_WIRELESS to 0 (1 will install all non free drivers, 2 only the broadcom drivers which I need for my laptop).

I would also point you to the "stripped" module. Currently most of the stripping is done by an original hook from debian live author Daniel Baumann, which uses rm -r rather brutaly. You have the experience to define packages to remove in this step, and also maybe replace the rm by the "zerosize" method from FoxyRoxy.

thanks and have fun
emil
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sat 15 Feb 2014, 14:42    Post subject:  

Hi Toni, I shifted the order of the download links and removed "boldness" from the iso link, so focus should be clear now! I appreciate your comments.
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sat 15 Feb 2014, 15:25    Post subject: on git  

Now on git:
Code:
git clone https://github.com/emilwidmann/Debian-light-builder.git
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 15 Feb 2014, 15:37    Post subject:  

Thank you, Emil.
I will post when I have modified working build script.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
konaexpress

Joined: 13 Oct 2011
Posts: 75

PostPosted: Sat 15 Feb 2014, 16:40    Post subject:  

saintless wrote:

I don't know if you prefer a separate scripts for reboot and shutdown, but you can have them easy as start menu buttons from /usr/share/icewm/preferences:
Code:
#  Command to shutdown the system
ShutdownCommand="/sbin/poweroff"

#  Command to reboot the system
RebootCommand="/sbin/reboot"

Haven't test to add sudo but I guess it will work for user account this way also if you like to give user permissions to use them.
Running the build-shell to build cat-0.41 my self now. I will try to edit it for Light-Wheezy similar build.

Toni


Not sure how it works in Puppy as you start in root but I had to use other commands when I programmed a log off manager for another distro. It's the same commands that CrunchBang has to use with the OBmenu system.

Let me know if you want the scripts and I will go look in my code and see what they are again. You would be surprised at how long they are, stupid politics and the open desktop org.

John

Last edited by konaexpress on Sat 15 Feb 2014, 16:51; edited 1 time in total
Back to top
View user's profile Send private message 
konaexpress

Joined: 13 Oct 2011
Posts: 75

PostPosted: Sat 15 Feb 2014, 16:48    Post subject:  

emil wrote:
Hi Toni, I shifted the order of the download links and removed "boldness" from the iso link, so focus should be clear now! I appreciate your comments.


Please do not stop making the iso, but maybe make a striped version for users to test and build off of.

Maybe just the file manager, wallpaper changer, panel, text editor, wifi manager, web browser and a few tools. If it has to much stuff in it, the focus could land on the iso and not the scripts.

This would give new builders that want to learn how to build a chance to learn in the shallow end of the pool.

Just my 2 cents,
John
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Sat 15 Feb 2014, 17:02    Post subject:  

konaexpress, good point.
The CAT-0.2.iso is still on, it is reduced to the basics.
Download

for puppy user it might be a hassle that X is startet as user, but starting a root shell and 1 or two root Rox filers will be enough for puppy root feeling...
The scripts have the KITTY module, which should be similar to CAT-0.2
Edit:(it has modified nodm hook, so it should build with auto login to root)

sudo su
emil

Last edited by emil on Sun 16 Feb 2014, 02:24; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sat 15 Feb 2014, 17:09    Post subject:  

konaexpress wrote:
Let me know if you want the scripts and I will go look in my code and see what they are again.

Thanks, John.
I like to see this scripts.
We still look for proper solution to make option for user account to reboot and shutdown and this is involved with using separate script for the start menu buttons.
Maybe your example will give me the right idea to use in Light-Wheezy.
I guess it will be best to post it here when you have time:
http://murga-linux.com/puppy/viewtopic.php?t=90660

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 4 of 11 [155 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 9, 10, 11 Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. 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.1333s ][ Queries: 12 (0.0362s) ][ GZIP on ]