Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
base-layout, alpine style
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
timkenhan
n00b
n00b


Joined: 21 Jan 2023
Posts: 3

PostPosted: Fri May 24, 2024 5:09 am    Post subject: base-layout, alpine style Reply with quote

Hi everyone!

The other day, I was trying out Alpine Linux and I was impressed by how it handles atomicity of the system thru externally building a complete system from nothing.

Among many things, what caught my eyes was its base layout packages. It comes simply as yet another package, which pulls necessary stuff like libc, core utilities, and shadow.

On the other hand, I was looking at the way Gentoo implement its base system thru the stage3 image. Compared to Alpine's base-layout package, there's no clear indication of its version except for its timestamp, which seems to be updated every week with no clear indication of what was changed.

I like to rebuild my system every now and then, I noticed some core parts of the system was put together in a hacky way. Is there a chance we can tidy these part, at least gradually?

I'm not sure if this is the right place to ask this. Lemme know if I need to move elsewhere with this question.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1476
Location: Germany

PostPosted: Fri May 24, 2024 5:31 am    Post subject: Reply with quote

What is your goal?

The stage tarballs are build regularly and while using them and following the install instructions, the provided packages are updated.
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
timkenhan
n00b
n00b


Joined: 21 Jan 2023
Posts: 3

PostPosted: Fri May 24, 2024 6:52 am    Post subject: Reply with quote

My goal would be to have (somewhat) reproducible build for container setting, kinda like Alpine. I figured Gentoo has a lot of powerful potential for this kind of use case. I mean, not only you get to pick exactly the packages to deploy, you'd also get to decided what's in every package and how it's built.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1569
Location: South America

PostPosted: Fri May 24, 2024 12:39 pm    Post subject: Reply with quote

Gentoo's similar concept would be the contents of the @system set, rather than the contents of the stage3 archive at any given time.

Big difference, Alpine is versioned, Gentoo is rolling release.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum