Re: Notes after 5.2 release

kp kirchdoerfer <[email protected]>
Newsgroups gmane.linux.leaf.devel
Organization none
Message-ID <9093067.NNSZe5bboY@stalker>
Hi Erich;

Am Montag, 28. September 2015, 18:51:33 schrieb Erich Titl:
> Hi KP
> 
> Am 28.09.2015 um 16:16 schrieb kp kirchdoerfer:
> > HI Erich;
> 
> ...
> 
> > Yes; files are identical with he released images as you requested.
> > Please do.
> > 
> >> What would you call the first release of 5_2? 5.2.0 or 5.2.1 ?
> > 
> > 5.2.1
 
> > I expect we'll do 5.2.1 within a month.
> 
> To me, the above is contradictory :-)

Indeed :) 
I should have read your question more carefully.

In terms for "upgrade" the first relase will of course be 5.2.0
 
> > Please improve/cleanup(?)  also the sparse usage message in upgrade if you
> > touch it.
> 
> Mhhh.. I tried to keep usage as close to *X standards as possible, there
> is no man page for it, so it is probably best to do something in the
> wiki. I must admit though I am a complete noob when it cones to wikis,
> as I loathe this format.
> 
> I can provide some text, maybe structured like so

I do like stuff below and it's waht should be added to the wiki.
But what I've meant, was only some more verbose help in repo/config/upgrade 
itself (as given in the Invocation section below)

But I see the gotcha, recover etc stuff is something needing documentation 
beyond the mere usage help.


> ------------------
> 
> Intro
> 
> Upgrade is a new way of keeping your LEAF router up to date with current
> releases.
> 
> ------------------
> What is upgrade
> 
> Upgrade is just a small script which tries its best to analyze your
> current LEAF version and settings, connects to the LEAF package
> repository on sourceforge and replaces your installed LEAF software with
> a new release.
> ------------------
> Invocation
> 
> Just invoke upgrade from your terninal window. If you want to be fancy
> about it, read the parameters section
> 
> Usage and parameters
> 
> Usage: upgrade [-v | --verbose] [--stable | --latest | --release x.y.z]
> [--squashfs | --unpacked]
> 
> -v | verbose          be chatty (default is off)
> 
> --stable               upgrade to current stable release as defined on
> the packages repository (the default setting)
> 
> -- latest               upgrade to bleeding edge latest release on the
> packages repository
> 
> --version x.y.z      upgrade to specific version x.y.z on the packages
> repository
> 
> --squashfs           use squashfs module repository (the default)
> 
> --unpacked	  use unpacked module directory (only used at development and
> debugging)
> 
> Without parameters upgrade will default to
> 
> upgrade --stable --squashfs
> 
> ---------------------
> Gotchas
> 
> Obviously you need internet connectivity to run upgrade. Then if you
> decide to be fancy about releases, be sure they exist at all. The same
> goes for --unpacked, there may not be such a repository.
> 
> --------------------
> Recommendations
> 
> I am running my LEAF system with a double boot system loader, so I
> always have a backup should I foul up my installation. The same goes for
> upgrade. Make sure you have a backup of your running LEAF installation
> before running upgrade. Better to be safe than sorry.
> 
> <KP>
> We may need to give an example on how to backup and restore the LEAF
> installation.
> 
> Honestly I don't know how to restore a LEAF router which does not either
> have a PXE capable BIOS or a double boot loader. Then I think PXE is too
> hard for the average bloke.
> 
> I am using grub as my bootloader with three partitions on the media, the
> first just holding the bootloader, the second my primary LEAF image and
> the third a clone of the primary.  I can select which system to boot by
> using a console.
> </KP>
> 
> You need a stable internet connection to run upgrade, It takes a while
> to download all the new stuff, so please be patient
> 
> Please let us know of all the gotchas you encounter
> ------------
> 
> > A remaining question is, if we should remove updater.lrp? I believe it
> > does
> > nearly the same but I never tested it and don't know if it still works as
> > expected....???
> 
> I have never used nor seen it. Sounds like it is not maintained and I
> have never seen it announced and then why make it a separate package?
> Upgrading a system should be an integral part.

AFAIK Andrew  did updater.lrp, let's see what he thinks about 
removing/replacing it.

kp

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.