WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: linux 5.10 used in alpine linux  (Read 587 times)

Offline nick65go

  • Sr. Member
  • ****
  • Posts: 439
linux 5.10 used in alpine linux
« on: December 15, 2020, 03:40:45 AM »
Alpine Linux begins to use linux kernel 5.10 :) on 15 dec 2020, see "main/linux-lts: upgrade to 5.10.1" on https://git.alpinelinux.org/aports/log
FYI: Alpine is "similar" with Tinycore: (can) boot in RAM, from USB/CDROM/HDD, without instalation. So it can be run as in virgin state (same as TC goal) if you want. But can also be HDD installed. It has backup/restore (as TC) for user appl or preferences.

It uses busybox (as TC) and musl (intead of libc). Appls/pakages are compiled with gcc 10.2 in automatic mode (with build log for inspection the of compile parameters and security patches), so you not need to trust user submited pakages (tcz), but only developer/robot scripts publicaly inspected.

The point here is NOT to compare Alpine with TC, but to notify you about its use of up-to-date kernels, libraries, Appls/Xorg, compiler, etc. Oh, it compiles ALL its applications (inclusive ex: firefox) for you.
« Last Edit: December 15, 2020, 03:50:14 AM by nick65go »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1170
Re: linux 5.10 used in alpine linux
« Reply #1 on: December 15, 2020, 03:57:15 AM »
sure, i'm using alpine sometimes.

i will tell you why i still use tc, though (and my point is to compare Alpine with TC):

alpine can only copy packages to RAM and yet i cannot unmount the boot flash drive. packages can not be mounted, so you have to copy them to RAM, always. also related: there's this inflexible "modloop" functionality that requires a mount, but it is only used for the kernel modules somehow. it's exactly the wrong way around and kernel module packages and firmware are needlessly separated from the rest of the packages.
i also don't like lbu, filetool.sh feels simpler.

tinycore will either copy to RAM, then you can throw away the boot drive, or it will mount the squashfs packages and not waste RAM, only in the latter case the drive with the tce packages needs to stay connected.

since i'm complaining already, here some other smaller issues:
alpine has lots of undocumented features, that partly are discussed on the wiki, but not in proper english, sometimes also outdated, so it's very hard to understand.

the alpine package repo is rather nice otoh, i bet they are able to reuse a lot of the already existing gentoo and bsd pkg recipes.
« Last Edit: December 15, 2020, 03:58:50 AM by hiro »

Offline nick65go

  • Sr. Member
  • ****
  • Posts: 439
Re: linux 5.10 used in alpine linux
« Reply #2 on: December 15, 2020, 04:15:45 AM »
Hi hiro!
TC is my main linux (both 32 and 64 bits options). Of course aside of alpine and win10 etc, each on dedicated partitions, grub2 bootloader etc. But because my HP buggy UEFI64, radeon APU insane brightness, I need to try up-to-date kernels hooping a new kernel could fix these.

Plus I like toybox (instead of busybox) and musl (instead of libc) if the target is minimalism. Security is abonus in Alpine, so its useful practice in chroot for x86 and x64 from TC_x64. Yes there are few thinhgs that I dislike in Alpine, as you enumerate them.
« Last Edit: December 15, 2020, 04:20:21 AM by nick65go »

Offline vinceASPECT

  • Sr. Member
  • ****
  • Posts: 481
Re: linux 5.10 used in alpine linux
« Reply #3 on: December 15, 2020, 05:53:43 AM »
Hello forum,

hoped to try Alpine Linux. THere is a app "scrcpy" in the repo.

THe free app sends Anroid device screens to Laptops giving a full screen android computer.

Thx.

vin

Offline nick65go

  • Sr. Member
  • ****
  • Posts: 439
Re: linux 5.10 used in alpine linux
« Reply #4 on: January 14, 2021, 06:30:37 AM »
finaly on 14/01/2021, Alpine Linux managed to issue release 3.13.0 (stable, not rc5) with kernel 5.10.7.
PS: it seams to have a package flwm (forked from tinycore), and a wbar package etc
« Last Edit: January 14, 2021, 06:34:28 AM by nick65go »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1170
Re: linux 5.10 used in alpine linux
« Reply #5 on: January 15, 2021, 05:29:47 AM »
yep, i also got the update.
most notably, wireguard now started working also without the wireguard-lts package.

i have a kind of frankenlinux machine that is a mix of principles that i got from smartos, alpine and tinycorelinux:

there's a little flash drive with alpine on it that feels like tinycorelinux, it has zfs modules added so that i can do all the same stuff as on smartos, also i have wireguard from mainline 5.10 kernel.
and after the zfs automount, datasets with all my 64bit and 32bit tinycorelinux installations are ready to be used.

i do not chroot into tinycorelinux any more, instead i use unshare -m to create a mount namespace, and then supply a special fstab to `mount -a -T`, so that /dev/, /sys and /tmp can be shared by all distros.
« Last Edit: January 15, 2021, 05:31:27 AM by hiro »