Re: [leaf-devel] cvs cleanup

2011-01-22 Thread KP Kirchdoerfer
Am Dienstag, 28. Dezember 2010, um 23:36:10 schrieb KP Kirchdoerfer:
> Am Dienstag, 30. November 2010, 15:55:23 schrieb KP Kirchdoerfer:
> > Am Samstag, 27. November 2010, 22:30:13 schrieb davidMbrooke:
> > > On Sat, 2010-11-27 at 15:58 +, davidMbrooke wrote:
> > > > On Sat, 2010-11-27 at 07:28 -0800, Mike Noyes wrote:
> > > > > On Fri, 2010-11-26 at 08:07 -0800, Mike Noyes wrote:
> > > > > > On Thu, 2010-11-25 at 00:20 +0100, KP Kirchdoerfer wrote:
> > > > > > > Am Dienstag, 23. November 2010, 20:38:07 schrieb KP 
Kirchdoerfer:
> > > > > What cvs cleanup is pending? I'd like to take care of all of it at
> > > > > one time with "adminrepo".
> > > > > 
> > > > > Pending
> > > > > http://leaf.cvs.sourceforge.net/leaf/
> > > > > 
> > > > > Removal/Deletion
> > > > > 
> > > > > buildtool.cfg/
> > > > > r1000/
> > > > 
> > > > Hi Mike,
> > > > 
> > > > A few requests to delete directories from CVS have been posted to
> > > > this
> > > > 
> > > > list of late:
> > > >   Erich:  src/bering-uclibc4/source/openswan/openswan-2.6.31
> > > >   Me:
> > > >   src/bering-uclibc4/buildtool/image/Bering-uClibc-isolinux-std Me: 
> > > >  src/bering-uclibc4/buildtool/image/Bering-uClibc-syslinux-std
> > > 
> > > ...and now two more while you are at it:
> > > src/bering-uclibc4/buildtool/tools/image/fd/
> > > src/bering-uclibc4/buildtool/tools/image/iso/
> > 
> > Mike;
> > 
> > found another one
> > src/bering-uclibc4/source/shorewall-shell/
> 
> Mike;
> 
> any news about cvs cleanup?
> 
> best wishes for 2011!
> kp


Mike; 

I guess this is still a pending request.

Any timeframe you can take care of it?

kp

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] bering-uclibc4 initrd migration

2011-01-22 Thread KP Kirchdoerfer
Am Samstag, 22. Januar 2011, um 17:53:02 schrieb Andrew:
> 22.01.2011 01:50, KP Kirchdoerfer пишет:
> > Am Freitag, 21. Januar 2011, um 00:25:13 schrieb Andrew:
> >> 10.01.2011 20:04, KP Kirchdoerfer пишет:
> >>> Andrew;
> >>> 
> >>> can/will you make the changes necessary? I guess you're the one who
> >>> knows best what has changed  moving to initramfs (only) and what needs
> >>> to be done to have initramfs with rootfs.
> >>> 
> >>> I consider the issue described above as serious and like  to get it
> >>> solved for beta2.
> >>> 
> >>> Anything else that anyone considers as showstopper for a new beta
> >>> version?
> >>> 
> >>> kp
> >> 
> >> I've commited new init script into CVS. I use initramfs till actually
> >> init call, and before init call I added new rootfs creation and then
> >> switching into new rootfs with small wrapper (that mounts /proc and /sys
> >> and then transfers control to main init) as init.script. This makes
> >> easier work with variables (I don't need to export all kernel
> >> variables), but makes a headache when rootfs is smaller than it should
> >> be - so for that case I added error processing and booting with
> >> initramfs on failure.
> >> Cons of this solution: higher memory requirements (it needs 2x >> rootfs size>  RAM at booting), but IMHO it isn't big trouble because
> >> executables are tiny. And for resource-limited PCs I added option to
> >> disable rootfs moving by setting syst_size to 0.
> >> 
> >> It'll be good if someone re-checks code.
> > 
> > Andrew;
> > 
> > while booting the image I see:
> > 
> > LINUXRC: Removing /mnt2
> > LINUXRC: Loaded Packages
> > sh: 40M: bad number
> > ^^
> > LINUXRC: Creating new rootf..
> > 
> > 
> > kp
> 
> Fixed.

Nice.

Given that the rebuild and testing the image (at least) in qemu runs fine, I 
think we are ready to tag beta2 (and start release work).
Anyone disagree?

kp

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] bering-uclibc4 initrd migration

2011-01-22 Thread Andrew
22.01.2011 01:50, KP Kirchdoerfer пишет:
> Am Freitag, 21. Januar 2011, um 00:25:13 schrieb Andrew:
>> 10.01.2011 20:04, KP Kirchdoerfer пишет:
>>> Andrew;
>>>
>>> can/will you make the changes necessary? I guess you're the one who knows
>>> best what has changed  moving to initramfs (only) and what needs to be
>>> done to have initramfs with rootfs.
>>>
>>> I consider the issue described above as serious and like  to get it
>>> solved for beta2.
>>>
>>> Anything else that anyone considers as showstopper for a new beta
>>> version?
>>>
>>> kp
>> I've commited new init script into CVS. I use initramfs till actually
>> init call, and before init call I added new rootfs creation and then
>> switching into new rootfs with small wrapper (that mounts /proc and /sys
>> and then transfers control to main init) as init.script. This makes
>> easier work with variables (I don't need to export all kernel
>> variables), but makes a headache when rootfs is smaller than it should
>> be - so for that case I added error processing and booting with
>> initramfs on failure.
>> Cons of this solution: higher memory requirements (it needs 2x> rootfs size>  RAM at booting), but IMHO it isn't big trouble because
>> executables are tiny. And for resource-limited PCs I added option to
>> disable rootfs moving by setting syst_size to 0.
>>
>> It'll be good if someone re-checks code.
> Andrew;
>
> while booting the image I see:
>
> LINUXRC: Removing /mnt2
> LINUXRC: Loaded Packages
> sh: 40M: bad number
> ^^
> LINUXRC: Creating new rootf..
>
>
> kp
>
Fixed.

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] bering-uclibc4 initrd migration

2011-01-22 Thread KP Kirchdoerfer
Am Samstag, 22. Januar 2011, um 12:49:07 schrieb Andrew:
> 22.01.2011 01:35, KP Kirchdoerfer пишет:
> >> It'll be good if someone re-checks code.
> >> 
> >> P.S. About beta2 - IMHO it'll be good to update kernel before beta2
> >> tagging to latest 2.6.35 minor (currently 2.6.35.10), and possible to
> >> update busybox (or we have something that depends on bb version?)
> > 
> > If you ask me, the kernel seems less intrusive and I vote to update.
> > How much work will be to update and test busybox yet?
> > 
> > kp
> 
> IMHO busybox update isn't too hard. I expect that it'll be enough just
> to replace old version by new one and review config, and port patches..

You've been right; the patches applied, the config changed (I had to set 
CONFIG_PLATFORM_LINUX=y, otherwise a few applets has been lost, anyway the 
binary is a little bit smaller than before) - and I was able to boot into a 
kernel 2.6.35.10 and busybox 1.18.2 iso image with qemu.

Will commit later and rebuild everything from scratch.

kp

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] bering-uclibc4 initrd migration

2011-01-22 Thread Andrew
22.01.2011 01:35, KP Kirchdoerfer пишет:
>
>> It'll be good if someone re-checks code.
>>
>> P.S. About beta2 - IMHO it'll be good to update kernel before beta2
>> tagging to latest 2.6.35 minor (currently 2.6.35.10), and possible to
>> update busybox (or we have something that depends on bb version?)
> If you ask me, the kernel seems less intrusive and I vote to update.
> How much work will be to update and test busybox yet?
>
> kp
IMHO busybox update isn't too hard. I expect that it'll be enough just 
to replace old version by new one and review config, and port patches..

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


Re: [leaf-devel] [leaf-user] buildimage fails if no .lwp files available

2011-01-22 Thread davidMbrooke
On Thu, 2011-01-20 at 23:51 +0200, Andrew wrote:
> Hi all.
> I tried to use buildimage to assemble my compiled earlier distro - and I 
> saw that it's crashed when no .lwp files is available:
> 
> # ./buildimage.pl --image=Bering-uClibc_i686_isolinux_vga --relver=4.0beta1
> cp: cannot stat `/var/testpoint/LEAF/buildtool/package/*.lwp': No such 
> file or directory
> Failed to copy files: No such file or directory No such file or 
> directory at ./buildimage.pl line 273
>  main::system_exec('cp -r 
> /var/testpoint/LEAF/buildtool/package/*.lwp /tmp/BUILDI...', 'Failed to 
> copy files: No such file or directory') called at ./buildimage.pl line 306
>  main::copyFilesToTempDir('package/*.lwp', '/') called at 
> ./buildimage.pl line 189
> 
> IMHO .lwp files aren't so necessary, they are optional components - so 
> possible it'll be good to add handling for that situation in future? Or 
> even add warning instead of buildimage termination if some file is missed?

[Replying to the leaf-devel list because this seems like more of a
-devel question.]

Hi Andrew,

There is no "special" handling of different files types in
buildimage.pl. We could certainly make the script ignore such a failure
and carry on, probably with a warning message, but it would do that for
all file types (unless we add a special check for .lwp files in the
error handling...)

I will look at the script tomorrow and make some improvements.

dMb




--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel