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 Sat 25 Oct 2014, 23:16
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 212 of 255 Posts_count   Goto page: Previous 1, 2, 3, ..., 210, 211, 212, 213, 214, ..., 253, 254, 255 Next
Author Message
stemsee


Joined: 27 Jun 2013
Posts: 442
Location: London

PostPosted: Wed 02 Jul 2014, 06:52    Post_subject:  

I will have a go at compiling kernel the pure debian way; which yields a kernel and image .deb package. For my own curiosity.

'tapbutton' is working nicely, by the way!
Back to top
View user's profile Send_private_message MSNM 
stemsee


Joined: 27 Jun 2013
Posts: 442
Location: London

PostPosted: Wed 02 Jul 2014, 07:19    Post_subject:  

I can't install briquolo, nor zaz ! Any known issues?
Back to top
View user's profile Send_private_message MSNM 
saintless


Joined: 11 Jun 2011
Posts: 2582
Location: Bulgaria

PostPosted: Wed 02 Jul 2014, 08:20    Post_subject:  

stemsee wrote:
I can't install briquolo, nor zaz ! Any known issues?

No issues.

Back to top
View user's profile Send_private_message MSNM 
stemsee


Joined: 27 Jun 2013
Posts: 442
Location: London

PostPosted: Wed 02 Jul 2014, 14:38    Post_subject:  

I think I need a new laptop! This one is too quirky!! ...or might be me!
Back to top
View user's profile Send_private_message MSNM 
fredx181

Joined: 11 Dec 2013
Posts: 854
Location: holland

PostPosted: Thu 03 Jul 2014, 11:31    Post_subject:  

stemsee wrote:
I can't install briquolo, nor zaz ! Any known issues?

On openbox_xfce version I have no problem installing but running it gives problem because /usr/games is not in PATH env.

Toni, some time ago I thought it was fixed by reading the PATH from /etc/environment but that doesn't work anymore.
Changing it in /etc/profile does work so that needs to be fixed for the next release.
Quote:
Fred, I might ask you later to include /initrd in exclude folders for RemasterDog.

If you can make the change yourself I have absolutely no objection if you change anything in any script of mine as long as you inform me about it.
I trust you don't mess things up Smile

Fred
Back to top
View user's profile Send_private_message 
saintless


Joined: 11 Jun 2011
Posts: 2582
Location: Bulgaria

PostPosted: Thu 03 Jul 2014, 11:43    Post_subject:  

Hi, Fred.
fredx181 wrote:
Changing it in /etc/profile does work so that needs to be fixed for the next release.

Jwm version PATH is in /etc/profile. Only when xdm is activated it reads the path from xdm config files.

I hope I will not break RemasterDog Smile It needs only /initrd in exclude command and some extra removing while cleaning. I will post edited version when I'm ready.

Toni
Back to top
View user's profile Send_private_message MSNM 
fredx181

Joined: 11 Dec 2013
Posts: 854
Location: holland

PostPosted: Thu 03 Jul 2014, 12:52    Post_subject:  

Hi Toni,
Quote:
Jwm version PATH is in /etc/profile. Only when xdm is activated it reads the path from xdm config files.

Not sure what you mean.
To avoid misunderstanding; I just mean PATH needs fixed only on openbox version, can you add it to the changes/fixes section?

I just see Jwm version has different remasterdog.
On openbox there's included /tmp as option (as anikin requested), you didn't like it maybe?

As for adding initrd folder as exception to copy, just add it to "--exclude=...." on line 43 like this:
Code:
 TOTAL=$(du -cbs --apparent-size /bin /boot /etc /home /lib /opt /root /sbin /usr /var --exclude="/lib/live/mount,initrd" | awk 'END {print $1}')

EDIT: Sorry, above must be wrong, probably it is this (with the "/" before initrd, didn't test this):
Code:
 TOTAL=$(du -cbs --apparent-size /bin /boot /etc /home /lib /opt /root /sbin /usr /var --exclude="/lib/live/mount,/initrd" | awk 'END {print $1}')

EDIT: Again wrong, this works, tested now:
Code:
 TOTAL=$(du -cbs --apparent-size /bin /boot /etc /home /lib /opt /root /sbin /usr /var --exclude=/{lib/live/mount,initrd} | awk 'END {print $1}')

Later I changed it to a bit different (which I like more because it's similar setup as the rsync commandline):
Code:
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp} | awk 'END {print $1}')

So with added initrd folder it is:
Code:
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} | awk 'END {print $1}')


And then with excluded initrd folder on line 47:
Code:
rsync -a / "/mnt/$DRV/$WRKDIR" --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} 2> /dev/null &


Fred

Edited_time_total
Back to top
View user's profile Send_private_message 
saintless


Joined: 11 Jun 2011
Posts: 2582
Location: Bulgaria

PostPosted: Thu 03 Jul 2014, 14:01    Post_subject:  

Hi, Fred.
fredx181 wrote:
To avoid misunderstanding; I just mean PATH needs fixed only on openbox version, can you add it to the changes/fixes section?

Done.

Quote:
I just see Jwm version has different remasterdog.
On openbox there's included /tmp as option (as anikin requested), you didn't like it maybe?

Maybe I missed it is updated RemasterDog for the iso versions. I will add it from OpenBox version.

It is not only /initrd excluding change. I still work on initrd.gz from puppy. It creates some extra files and folders in /lib and /etc that have to be removed in the cleaning section of the script. I will upload edited version of RemasterDog for you when I'm sure what exactly has to be cleaned.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
fredx181

Joined: 11 Dec 2013
Posts: 854
Location: holland

PostPosted: Thu 03 Jul 2014, 15:10    Post_subject:  

Hi Toni,

Quote:
To avoid misunderstanding; I just mean PATH needs fixed only on openbox version, can you add it to the changes/fixes section?

Done.

Thanks!

Quote:
Maybe I missed it is updated RemasterDog for the iso versions. I will add it from OpenBox version.

My reply to Anikin who suggested /tmp as option for remasterdog:
http://murga-linux.com/puppy/viewtopic.php?p=773264#773264

Just for info: There are two 'TOTAL=...' occurrences in there, one for the /tmp option on line 37 and on line 95 for the other options (and on line 99 there's the rsync command)

Fred
Back to top
View user's profile Send_private_message 
anikin

Joined: 10 May 2012
Posts: 510

PostPosted: Thu 03 Jul 2014, 15:30    Post_subject:  

Hi Toni and Fred,

Since you are finalizing remasterdog, one little thing regarding mksquashfs. From what I'm reading, the command in live-build scripts, specifically those of Steven Shiau has a minor difference:
Code:
-b 1024k -comp xz -Xbcj x86 -e boot
that is, boot is explicitly excluded. Not a big deal, just thought I'd mention it. Interesting, the way mksquashfs is used in his scripts:
Quote:
stevenshiau 2012-10-25 02:08:15

Before running mksquashfs, you can assign some environment variables:
export MKSQUASHFS_OPTIONS="-b 1024k -comp xz -Xbcj x86 -e boot"
Then your mksquashfs will honor that.
This was the parameters used when creating GParted live
Back to top
View user's profile Send_private_message 
fredx181

Joined: 11 Dec 2013
Posts: 854
Location: holland

PostPosted: Thu 03 Jul 2014, 16:04    Post_subject:  

anikin wrote:
Since you are finalizing remasterdog, one little thing regarding mksquashfs. From what I'm reading, the command in live-build scripts, specifically those of Steven Shiau has a minor difference:
Code:
-b 1024k -comp xz -Xbcj x86 -e boot


Not needed I think because for several reasons we want to keep the /boot dir as part of the system.

Fred
Back to top
View user's profile Send_private_message 
saintless


Joined: 11 Jun 2011
Posts: 2582
Location: Bulgaria

PostPosted: Thu 03 Jul 2014, 16:42    Post_subject:  

We need /boot folder to have working mkinitramfs for creating new initrd.img after installing new kernel.
http://www.murga-linux.com/puppy/viewtopic.php?p=774460#774460
And because we keep /boot/config-3.2.0-4-486 needed for some programs like Firehol:
http://www.murga-linux.com/puppy/viewtopic.php?p=774473#774473
I'm sure there are more reasons to keep it.
Back to top
View user's profile Send_private_message MSNM 
saintless


Joined: 11 Jun 2011
Posts: 2582
Location: Bulgaria

PostPosted: Fri 04 Jul 2014, 02:32    Post_subject:  

Hi, Fred.

RemasterDog with the changes for puppy initrd.gz boot:
http://smokey01.com/saintless/Fredx181/Temp-stuff/remasterdog-tmp.tar.gz
The changes you posted yesterday for excluding /initrd + some more cleaning lines added. Copying files progress bar does not move for puppy initrd.gz boot but this is not a big problem. It will be only optional boot method for anyone who like to adapt it better in time.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
fredx181

Joined: 11 Dec 2013
Posts: 854
Location: holland

PostPosted: Fri 04 Jul 2014, 04:37    Post_subject:  

Hi Toni,
Quote:
RemasterDog with the changes for puppy initrd.gz boot:
http://smokey01.com/saintless/Fredx181/Temp-stuff/remasterdog-tmp.tar.gz

initrd needs to be excluded also on line 96, now you've changed only the TOTAL line for /tmp option on line 38

Fred
Back to top
View user's profile Send_private_message 
fredx181

Joined: 11 Dec 2013
Posts: 854
Location: holland

PostPosted: Fri 04 Jul 2014, 05:01    Post_subject:  

Hi Toni,
Also line 38 has missing sed command at the end so this way the /tmp option cannot be used, make it this:
Code:
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} | awk 'END {print $1}' | sed 's/.\{3\}$//')

On line 96 it needs to be without the sed command:
Code:
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} | awk 'END {print $1}')

EDIT:Ooops, line 101 needs change also (has to be "$WORK"):
Code:
rsync -a / "$WORK" --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} 2> /dev/null &


Fred
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 212 of 255 Posts_count   Goto page: Previous 1, 2, 3, ..., 210, 211, 212, 213, 214, ..., 253, 254, 255 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1381s ][ Queries: 12 (0.0497s) ][ GZIP on ]