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 Tue 16 Jul 2019, 18:28
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Build scripts for small debian live images (similar to woof)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 11 [155 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 9, 10, 11 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 10 Feb 2014, 13:32    Post subject:  

Hi, Joe Smile

I think for now this puppy deb packages from Fred will work without problems on standard debian wheezy and squeeze for multiuser:
http://www.smokey01.com/saintless/Fredx181/frisbee_wheezy.deb
http://www.smokey01.com/saintless/Fredx181/gtkdialog-0.8.3.deb
http://www.smokey01.com/saintless/Fredx181/obshutdown.deb
http://www.smokey01.com/saintless/Fredx181/pfind.deb
http://www.smokey01.com/saintless/Fredx181/pburn-4.3.3%285%29.tar.gz
Sorry, the url tags make this post invisible Sad
Fixed.
Toni

Last edited by saintless on Mon 10 Feb 2014, 13:55; edited 5 times in total
Back to top
View user's profile Send private message MSN Messenger 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Mon 10 Feb 2014, 13:37    Post subject:  

Hey Joe,

i think I didn't found it, I am still searching. Anyway it feels that a light system is possible and with the build scripts you have a blueprint to transform it easily, customize it and also build for different arches.

Yes - doing it the light way is not so easy, and here one can learn a lot from puppy. Transforming apps will include - but is not limited to replace /root with /$HOME. I am still looking for the right policy - should one keep the pet format or should one convert it into deb and use apt-get to install?

It seems logical that apt should be configured with
reccommends=false, suggests=false, indices=false
Concerning which packages to include in the base distro and how to combine apps and dependencies to keep it small and light one could learn also much from puppy...

Currently the filesystem is purged from docs, manuals, locals etc..
header files are kept. Maybe a split inte dev / doc / nls packages like in puppy would make sense (when combining thos files to seperate to squashfs).

For the puppy feeling it is possible to replace in /etc/default/nodm
Code:
NODM_USER=user with NODM_USER=root

(the nodm.hook could be modified to have this the default behaviour)

Right here in the forum there are many people with more experience and skill than me, so I can not achieve much alone.
cheers
emil
Back to top
View user's profile Send private message Visit poster's website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Mon 10 Feb 2014, 13:44    Post subject:  

saintless wrote:
Hi, Joe Smile

I think for now this puppy deb packages from Fred will work without problems on standard debian wheezy and squeeze for multiuser:
http://www.smokey01.com/saintless/Fredx181/frisbee_wheezy.deb
http://www.smokey01.com/saintless/Fredx181/gtkdialog-0.8.3.deb
http://www.smokey01.com/saintless/Fredx181/obshutdown.deb
http://www.smokey01.com/saintless/Fredx181/pburn-4.3.3(5).tar.gz
http://www.smokey01.com/saintless/Fredx181/pfind.deb

Sorry, the url tags make this post invisible Sad

Toni

http://www.smokey01.com/saintless/Fredx181/frisbee_wheezy.deb
http://www.smokey01.com/saintless/Fredx181/gtkdialog-0.8.3.deb
http://www.smokey01.com/saintless/Fredx181/obshutdown.deb
http://www.smokey01.com/saintless/Fredx181/pfind.deb

It is the url http://www.smokey01.com/saintless/Fredx181/pburn-4.3.3(5).tar.gz that makes the post invisible because of its included (5).

Just replace ( by %28 and ) by %29 and it works.
http://www.smokey01.com/saintless/Fredx181/pburn-4.3.3%285%29.tar.gz

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 10 Feb 2014, 13:48    Post subject:  

Thank you, RSH.
I will keep this in mind while uploading files.
Back to top
View user's profile Send private message MSN Messenger 
anikin

Joined: 10 May 2012
Posts: 1020

PostPosted: Wed 12 Feb 2014, 07:57    Post subject:
Subject description: nodm works great
 

emil wrote:
For the puppy feeling it is possible to replace in /etc/default/nodm
Code:
NODM_USER=user with NODM_USER=root

(the nodm.hook could be modified to have this the default behaviour)

I downloaded nodm from Debian packages, undebbed it to have a look at the file structure, which looks as follows:

/etc/pam.d/nodm
/etc/insserv.conf.d/nodm
/etc/init.d/nodm

and replaced user with root. Works like a charm.
Now, it would be great to get COW working ... if saintless is willing to help Smile
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Wed 12 Feb 2014, 08:28    Post subject:
Subject description: nodm works great
 

Hi, Anikin.
anikin wrote:
Now, it would be great to get COW working ... if saintless is willing to help Smile

Extract initrd1.img from Light-Wheezy2, use it with Cat-0.2 and it is done Smile
http://www.smokey01.com/saintless/Light-Wheezy/Light-Wheezy-2.iso

Toni

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Wed 12 Feb 2014, 08:30    Post subject:  

Hi, Emil.

About IceWM-Control-Center:
saintless wrote:
I can make a module but you can add it to install packages list:
1. Install icecc debian package:
http://prdownloads.sourceforge.net/icecc/icecc_2.9-1_i386.deb?download
2. Install this libqt3-mt package:
http://packages.ubuntu.com/lucid/libqt3-mt
I just use from the last one copy of libqt3-mt with two symlinks in /opt/lib instead installing ubuntu package.
3. Create symlink from any text editor to /opt/bin/gvim
In my choice /opt/bin/gvim is link to geany

There are also 3 options in icecc that does not work without python. I don't think they are important but if you need them install python as well.
If you prefer separate module I can make one.

Edit: Hi, Emil.Here is separate squashfs module if you decide it is better to add it this way. If something does not work write here.
http://www.smokey01.com/saintless/Fredx181/02-icecc.squashfs


Toni

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

Joined: 10 May 2012
Posts: 1020

PostPosted: Wed 12 Feb 2014, 14:39    Post subject:
Subject description: nodm works great
 

saintless wrote:
Hi, Anikin.
anikin wrote:
Now, it would be great to get COW working ... if saintless is willing to help Smile

Extract initrd1.img from Light-Wheezy2, use it with Cat-0.2 and it is done Smile
http://www.smokey01.com/saintless/Light-Wheezy/Light-Wheezy-2.iso

Toni

Hi saintless,

Does it look OK, nothing wrong in the picture?
cow.jpeg
 Description   
 Filesize   69.38 KB
 Viewed   476 Time(s)

cow.jpeg

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


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Wed 12 Feb 2014, 15:34    Post subject:
Subject description: nodm works great
 

anikin wrote:
Does it look OK, nothing wrong in the picture?

The only unusual thing is this empty folder /live/cow/live
It should not be there but this seems doesn't make problems. Maybe it is created because of something was left from the mounting /lib/live/mount/medium in /home but I'm not sure.
In general do not touch (delete, rename, move) anything inside /live/cow
You will end up with broken system.
The wh. hidden files and folders are created for deleted items to be marked as deleted in the main module. They will appear in xfe as well if you mark show hidden files.
Install squashfs-tools and use mksquashfs /live/cow to save changes or live-rw save file.
From quick test all seems to work as it should with the downgraded initrd.img from Light-Wheezy2.

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

Joined: 10 May 2012
Posts: 1020

PostPosted: Thu 13 Feb 2014, 10:17    Post subject:  

Hi saintless,

Thank you, for all your help.
All is going well so far, except, that I'm experinencing a little issue.
This netbook has 2 SSD drives - sda1, sdb1 (both vfat) and an SD card - sdc1 (ext4).
Out of those 3, only sda1 and sdc1 can be mounted - either via the provided script, or manually.
sdb1 refuses to mount - with a message like, it's not found in fstab, or mtab.
Any ideas?
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 13 Feb 2014, 13:02    Post subject:  

anikin wrote:
sdb1 refuses to mount - with a message like, it's not found in fstab, or mtab.

Hi, Anikin.
I guess it is Cat-0.2 you are using? Emil wrote there was a problem with the mount script in the first version but he already removed this version from the site.
The message for fstab and mtab missing is usual output if you try to mount/unmount drives from xfe or rox direct. They need fstab menu entry to do it.
I would try this:
Code:
fdisk -l

Find the exact name of the drive and if it is /dev/sdb1 try:
Code:
mount /dev/sdb1 /mnt

If this also does not work try the script /opt/bin/mnt-all from Light-Wheezy.

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: Thu 13 Feb 2014, 13:55    Post subject:  

Hi,

This looks like a cool project! Glad to see it and good luck with it.

1. Would love to see apt-get.

2. Might want to give new versions/ projects cat names to show a distinction between it and legacy Puppy projects. This will give way to all new names too....

Lot of good people here at the Puppy forums.

Best regards,
John
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 631
Location: Austria

PostPosted: Fri 14 Feb 2014, 03:15    Post subject:    

Hi thank you all,
anikin
Quote:
replaced user with root. Works like a charm.


Smile makes life easier on a private computer.
Quote:

Extract initrd1.img from Light-Wheezy2, use it with Cat-0.2 and it is done

it is fine to modify everything with backported live-build, different initrd etc.
For my personal builds with the CAT I try to stay close to official debian build, so I use original initrd

Quote:
About IceWM-Control-Center:

Toni, thank you for packagin Ice wm control center. I tested it, python would be no problem, python minimal is already here, but it needs qt3 libs, whereas qt4 is used in wheezy.

Quote:
The only unusual thing is this empty folder /live/cow/live

For my personal CAT builds I will use live-build 3.0 to stay with the current version (reason see above). So in my CAT builds there will be no folder /live/cow.

Quote:

sdb1 refuses to mount

I only included my very old mount-all script. I hope one of Tonis solutions worked for you. I work on an extended CAT version with lots of filesystem drivers, maybe I can also include the drive icons, this will make mounting more puppy like.


Quote:
This looks like a cool project!

Thanks! It is ultra-cool... Cool
1) apt-get is working
2) at the moment I will just use CAT with some version number, if anybody else uses the scripts name it as you like (maybe not pussy linux, that is something slightly different)

cheers
emil

Last edited by emil on Fri 14 Feb 2014, 12:19; 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: Fri 14 Feb 2014, 03:32    Post subject:  

emil wrote:
Quote:
The only unusual thing is this empty folder /live/cow/live

For my personal CAT builds I will use live-build 3.0 to stay with the current version (reason see above). So in the my CAT builds there will be no folder /live/cow.

Hi, Emil Smile
I know. I just answered Anikin's questions. He wants to use /live/cow with Cat.
BTW I also keep the original initrd.img on the site. The downgraded initrd.img is build with downgraded live-boot but I also use it with squashfs with latest live-boot in Light-Wheezy.

Toni

Last edited by saintless on Fri 14 Feb 2014, 04:36; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
konaexpress

Joined: 13 Oct 2011
Posts: 75

PostPosted: Fri 14 Feb 2014, 04:31    Post subject:  

Icewm and Xfe?

Wow that should be a fast little distro for sure. Ever think about flux box too?

I will continue to watch this thread, have fun.

John
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 11 [155 Posts]   Goto page: Previous 1, 2, 3, 4, 5, ..., 9, 10, 11 Next
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.0869s ][ Queries: 12 (0.0093s) ][ GZIP on ]