:: Re: [DNG] Giving Devuan sans-initra…
Pàgina inicial
Delete this message
Reply to this message
Autor: karl
Data:  
A: dng
Assumpte: Re: [DNG] Giving Devuan sans-initramfs capabilities
Adam Borowski:
> On Sat, Jan 02, 2016 at 09:32:31PM +0100, Karl Hammar wrote:
> > Adam Borowski:
> > > On Sat, Jan 02, 2016 at 08:15:39PM +0100, karl@??? wrote:
> > > > download your kernel from your favourite site, e.g.
> > > > ftp:ftp.sunet.se/pub/Linux/kernels/
> > >
> > > Boo! Do you live in 20th century? It's a crime to not use git, especially
> > > when patches are involved. Even if they're not, you save time unpacking /
> > > downloading updates / switching to other releases.
> > >
> > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> >
> > Do you see any difference between the git repo and the tar file ?
> >
> > $ du -s linux-2.6
> > 3009716 linux-2.6
>
> You want du -s .git only, as you're counting both packed and unpacked.


Yes, but my point still holds:

$ du -s X/nouveau/linux-2.6/.git
1879408 X/nouveau/linux-2.6/.git
$ du -s /Net/ftp/ftp.sunet.se/pub/Linux/kernels/v4.x/linux-4.0.tar.xz
80384 /Net/ftp/ftp.sunet.se/pub/Linux/kernels/v4.x/linux-4.0.tar.xz
$ echo 1879408/80384 | bc
23

> > So for someone who has not compiled the kernel from source, I don't
> > start with the git clone, especially since I don't know anything about
> > their network connection. You might not believe it, but there are still
> > people out there with (plain old telefon system) modems.
>
> Such people can specify --depth to make a shallow clone with no history.


Well, why don't you present your advice to the proper target, write a
howto and send it to the list.

> But really, I don't see anyone who's capable of compiling their own kernel
> use an acoustic modem today.


You'd be surprised, but accept the fact that some people are not
fortunate re. bandwidth.

> And unlike tarballs, you clone from git once, then pull only commits you
> don't have yet, so in the long run you save bandwidth.


Yes, but we don't know if this or that person wants to do more than one
compile.

> > > > make
> > > > make install
> > > > make modules_install
> > >
> > > This won't let you uninstall cleanly, or deploy to other machines.
> >
> > That lets me deploy to machines without apt or dpkg.
>
> This mailing list happens to be for a distribution where both apt and dpkg
> are Essential:yes packages. I'd expect people here to be more likely to
> have FreeBSD/whatever machines than to use non-deb Linux.


People on this on this are competent to decide for themself what they
want, and that might not be what you expect.

> > I don't uninstall kernels that ofthen so I don't mind the manual way.
>
> So you don't do security upgrades?


Please, not unstalling does not imply not installing.
And manual uninstall is rather benign.

...
> > > make-kpkg will handle grub/lilo config automatically.
> >
> > I don't want that automation so I do:
> >
> > # cat /etc/kernel-img.conf
> > do_symlinks = no
> > do_bootloader = no
> > silent_modules = yes
> > warn_initrd = no
>
> Why not?

...

It only gives me two kernels, current and old.

///

And please get your tone down.
There is no need for "boo" and other pejorative statements.

I give my advice and you are welcome to present your in a civil tone.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57