Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy
Yes, my mistake. I see headers in kernel-modules.sfs /usr/include/
Is this full linux-headers pack? Properties show 730 .h files compared to debian 3.2 headers 2819 .h in /usr/include or I miss something important about compiling difference puppy-debian...
I'm not sure it will work for DebianDog for compiling because of the different structure. It has to be tested.
I think it is best to pack your kernels in separate archive for use with puppy and debian systems. All new pupies will be able to load them and DebianDog also can do it. I will provide puppy initrd.gz file when I'm happy with the result and it should be able to load all separate puppy kernels.
Is this full linux-headers pack? Properties show 730 .h files compared to debian 3.2 headers 2819 .h in /usr/include or I miss something important about compiling difference puppy-debian...
I'm not sure it will work for DebianDog for compiling because of the different structure. It has to be tested.
I think it is best to pack your kernels in separate archive for use with puppy and debian systems. All new pupies will be able to load them and DebianDog also can do it. I will provide puppy initrd.gz file when I'm happy with the result and it should be able to load all separate puppy kernels.
Edit: Maybe you are seeing mixed in headers from kernel 3.2 which i didn't remove before the remastering!!
They are the full headers package extracted from kernel source package! I am not an expert on the details, I just used kernel-kit, which is almost automatic after setting up build.conf with user choices. I compiled this kernel 3.16-rc2 on DebianDog, which even with devx loaded needed ncurses-dev installed. In DebianDog compiling kernel has at least one bug. after starting 'make menuconfig' the editor which opens does not allow opening of sub-menus, >processor type and features > highmem (4G) ===> does not open to change option to (none), which then lets you select pae in another menu entry. There are other config editors which i didn't try yet.
Yes, I agree the debian and puppy kernel packages are better kept separate. Until a unifying solution resolves differences.
I can provide .config for kernel 3.16-rc2 for use or examination
They are the full headers package extracted from kernel source package! I am not an expert on the details, I just used kernel-kit, which is almost automatic after setting up build.conf with user choices. I compiled this kernel 3.16-rc2 on DebianDog, which even with devx loaded needed ncurses-dev installed. In DebianDog compiling kernel has at least one bug. after starting 'make menuconfig' the editor which opens does not allow opening of sub-menus, >processor type and features > highmem (4G) ===> does not open to change option to (none), which then lets you select pae in another menu entry. There are other config editors which i didn't try yet.
Yes, I agree the debian and puppy kernel packages are better kept separate. Until a unifying solution resolves differences.
I can provide .config for kernel 3.16-rc2 for use or examination
- Attachments
-
- DOTconfig-3.16-rc2.gz
- (134.26 KiB) Downloaded 149 times
Last edited by stemsee on Wed 02 Jul 2014, 09:39, edited 1 time in total.
There will not be unifying solution for using puppy kernel, Stemsee. Puppy kernel brings disadvantages that can not be solved. The best way is to make puppy initrd.gz to work with debian kernel.
There is debian kernel sources available for download and debian-method to compile new kernel. It gives different structured kernel-module than kernel 3.16-rc2. It is still puppy structured kernel no matter it is compiled on DebianDog.
Devx for DebianDog is not needed at all. It was something for quicker use for me, Terry and Fred to compile small programs like jwm, xfe and dillo. You can apt-get all needed packages for compiling. Something you can't do in Puppy.
There is debian kernel sources available for download and debian-method to compile new kernel. It gives different structured kernel-module than kernel 3.16-rc2. It is still puppy structured kernel no matter it is compiled on DebianDog.
Devx for DebianDog is not needed at all. It was something for quicker use for me, Terry and Fred to compile small programs like jwm, xfe and dillo. You can apt-get all needed packages for compiling. Something you can't do in Puppy.
No, I compare the files from kernel-modules.sfs with the files in 06-DEVX-DebDog-2.squashfs Not to mention over 6000 .h more files in /usr/source linux-headers inside both folders in 06-DEVX-DebDog-2.squashfsstemsee wrote:Edit: Maybe you are seeing mixed in headers from kernel 3.2 which i didn't remove before the remastering!!
But I'm not an expert also. Just see the difference in headers files is huge.
On openbox_xfce version I have no problem installing but running it gives problem because /usr/games is not in PATH env.stemsee wrote:I can't install briquolo, nor zaz ! Any known issues?
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.
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.Fred, I might ask you later to include /initrd in exclude folders for RemasterDog.
I trust you don't mess things up
Fred
Hi, Fred.
I hope I will not break RemasterDog It needs only /initrd in exclude command and some extra removing while cleaning. I will post edited version when I'm ready.
Toni
Jwm version PATH is in /etc/profile. Only when xdm is activated it reads the path from xdm config files.fredx181 wrote:Changing it in /etc/profile does work so that needs to be fixed for the next release.
I hope I will not break RemasterDog It needs only /initrd in exclude command and some extra removing while cleaning. I will post edited version when I'm ready.
Toni
Hi Toni,
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:
EDIT: Sorry, above must be wrong, probably it is this (with the "/" before initrd, didn't test this):
EDIT: Again wrong, this works, tested now:
Later I changed it to a bit different (which I like more because it's similar setup as the rsync commandline):
So with added initrd folder it is:
And then with excluded initrd folder on line 47:
Fred
Not sure what you mean.Jwm version PATH is in /etc/profile. Only when xdm is activated it reads the path from xdm config files.
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: Select all
TOTAL=$(du -cbs --apparent-size /bin /boot /etc /home /lib /opt /root /sbin /usr /var --exclude="/lib/live/mount,initrd" | awk 'END {print $1}')
Code: Select all
TOTAL=$(du -cbs --apparent-size /bin /boot /etc /home /lib /opt /root /sbin /usr /var --exclude="/lib/live/mount,/initrd" | awk 'END {print $1}')
Code: Select all
TOTAL=$(du -cbs --apparent-size /bin /boot /etc /home /lib /opt /root /sbin /usr /var --exclude=/{lib/live/mount,initrd} | awk 'END {print $1}')
Code: Select all
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp} | awk 'END {print $1}')
Code: Select all
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} | awk 'END {print $1}')
Code: Select all
rsync -a / "/mnt/$DRV/$WRKDIR" --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} 2> /dev/null &
Last edited by fredx181 on Thu 03 Jul 2014, 20:44, edited 1 time in total.
Hi, Fred.
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
Done.fredx181 wrote:To avoid misunderstanding; I just mean PATH needs fixed only on openbox version, can you add it to the changes/fixes section?
Maybe I missed it is updated RemasterDog for the iso versions. I will add it from OpenBox version.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?
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
Hi Toni,
http://murga-linux.com/puppy/viewtopic. ... 264#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
Thanks!To avoid misunderstanding; I just mean PATH needs fixed only on openbox version, can you add it to the changes/fixes section?
Done.
My reply to Anikin who suggested /tmp as option for remasterdog:Maybe I missed it is updated RemasterDog for the iso versions. I will add it from OpenBox version.
http://murga-linux.com/puppy/viewtopic. ... 264#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
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: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:
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: Select all
-b 1024k -comp xz -Xbcj x86 -e boot
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
Not needed I think because for several reasons we want to keep the /boot dir as part of the system.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
Fred
We need /boot folder to have working mkinitramfs for creating new initrd.img after installing new kernel.
http://www.murga-linux.com/puppy/viewto ... 460#774460
And because we keep /boot/config-3.2.0-4-486 needed for some programs like Firehol:
http://www.murga-linux.com/puppy/viewto ... 473#774473
I'm sure there are more reasons to keep it.
http://www.murga-linux.com/puppy/viewto ... 460#774460
And because we keep /boot/config-3.2.0-4-486 needed for some programs like Firehol:
http://www.murga-linux.com/puppy/viewto ... 473#774473
I'm sure there are more reasons to keep it.
Hi, Fred.
RemasterDog with the changes for puppy initrd.gz boot:
http://smokey01.com/saintless/Fredx181/ ... 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
RemasterDog with the changes for puppy initrd.gz boot:
http://smokey01.com/saintless/Fredx181/ ... 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
Hi Toni,
Fred
initrd needs to be excluded also on line 96, now you've changed only the TOTAL line for /tmp option on line 38RemasterDog with the changes for puppy initrd.gz boot:
http://smokey01.com/saintless/Fredx181/ ... tmp.tar.gz
Fred
Hi Toni,
Also line 38 has missing sed command at the end so this way the /tmp option cannot be used, make it this:
On line 96 it needs to be without the sed command:
EDIT:Ooops, line 101 needs change also (has to be "$WORK"):
Fred
Also line 38 has missing sed command at the end so this way the /tmp option cannot be used, make it this:
Code: Select all
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\}$//')
Code: Select all
TOTAL=$(du -cbs --apparent-size / --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} | awk 'END {print $1}')
Code: Select all
rsync -a / "$WORK" --exclude=/{dev,live,lib/live/mount,cdrom,mnt,proc,sys,media,run,tmp,initrd} 2> /dev/null &