Penguins-eggs: help needed for Manjaro compatibility

Let’s me to investigate… I’m using a clean machine like you, formatted ext4 branch stable, and don’t get this error. Until now I tried selecting fast compression.

regarding

mount --bind --make-slave /a /home/eggs/ovarium/filesystem.squashfs/a

I tried creating a /pippo on root, and don’t evidences result.
I discovered a problem in calamares configuration /etc/calamares/modules/packages.conf when I use --fast option, the resulting installation fail

I think I will solve this in the afternoon, it’s just a misconfigured yaml. Anyway becouse the problem arise at the end of installation, the system was installed with the presence of /pippo.

BTW: it’s nice to have finally feedback. Good sunday @linux-aarhus!

@artisan @Yochanan, i think we have a misunderstanding here: i think is not necessary to remove penguins-eggs from our repo because if we remove this we have to remove 99% of our program from the repo since anyone can build itself from the source. I think what @artisan wants to say with “hack” is to build directly from the source when a developer wants instantly test the changes made by him for helping the development of penguins-eggs. Indeed if the packaging is not the best because the directive of npm ( or pnpm ) for building the project is wrong from a system-wide perspective we can improve it…

1 Like

@ste74, @Yochanan
Yes, this is exactly that I want to say and tryed to explain.

I used npm to install pnpm just becouse pnpm it was not in the repository and recently I discover it and it’s quite fast compared to npm.

In all the ways for me it’s not a big problem to not have eggs in the community repo, perhaps can attrack more developers than just users.

In all ways we will respect all the limits of the Law! :slight_smile:

Yep i understand but if your program is in our repo the program have more visibility and is plus easy to attract more developers. In other hands you don’t have visibility :face_with_peeking_eye:

For now it is until we can package it properly. Dumping the whole repo into /usr/lib/ is not acceptable. This project is not meant to be installed to the system at all. The only thing that should be in /usr/lib/ is the node_modules. Perhaps the main files can be installed to /opt/.

That’s not why as I already corrected that, remember? :wink:

In the meantime, a user should do the following:

git clone https://github.com/pieroproietti/penguins-eggs
cd penguins-eggs
pnpm i
pnpm run build
2 Likes

I’m trying to create a new version of BUILDPKG for eggs, so I forked from the original-one on penguins-eggs-manjaro

Just tested and seem to work, my idea was to take manjaro calamares configuration too, but at the moment I’m not able, so still remain mine settings.

my dependencies are:

depends=('arch-install-scripts' 'erofs-utils' 'manjaro-tools-iso' 'mtools' 'nodejs' 'npm' 'python' 'syslinux' 'xdg-utils')

Why I get a lot of dependecies?

  • apparmor-3.0.4-1
  • calamares-tools-0.1.0-1
  • libburn-1.5.4-1
  • libisoburn-1.5.4-2 *
  • libisofs-1.5.4-1 libuv-1.43.0-1
  • manjaro-iso-profiles-base-17.1.12-1
  • manjaro-tools-base-git-r2996.d3ab091-1
  • manjaro-tools-yaml-git-r2996.d3ab091-1
  • mktorrent-1.1-4
  • ruby-3.0.4-1
  • ruby-irb-1.4.1-1
  • ruby-kwalify-0.7.2-3
  • ruby-reline-0.3.1-1
  • rubygems-3.3.8-1
  • snapd-2.55.5-1
  • arch-install-scripts-24-2
  • erofs-utils-1.4-2
  • manjaro-tools-iso-git-r2996.d3ab091-1
  • mtools-1:4.0.39-1
  • nodejs-18.2.0-1
  • syslinux-6.04.pre2.r11.gbf6db5b4-3

most of then I think I don’t need at all. How optimize it?

@Yochanan @Ste74 @codesardine

Those are dependencies required by manjaro-tools-iso-git:

❯ pacman -Sii manjaro-tools-iso-git | grep 'Depends On'
Depends On      : dosfstools  libisoburn  squashfs-tools  manjaro-tools-yaml-git  mkinitcpio  mktorrent  grub  snapd  git

You can also use pactree for each package.

1 Like

Ok, thanks @yochanan

Trying to remove manjaro-tools-iso from dependencies

We use very little from manjaro-tools-iso, so I’m trying to remove it from dependencies.

Mostly we need hooks for mkinitcpio, I’m getting this error:

==> ERROR: Hook 'miso_shutdown' cannot be found
==> ERROR: Hook 'miso' cannot be found
==> ERROR: Hook 'miso_loop_mnt' cannot be found
==> ERROR: Hook 'miso_kms' cannot be found

how to fix it?

We can find them on manjaro-tools. under /usr/lib/inipcpio

It’s neccessary to copy manjaro-tools/initcpio

sudo cp manjaro-tools/initcpio/ /usr/lib -R

We need too /etc/initcpio/miso_shutdown. I don’t remember now it from where come, I just copied it inside this repo, so:

cp miso_shutdown /etc/initcpio

Not too orthodox, but It seem to work!

Advices for doing it in a more orthodox way are welcome, :slight_smile:

Resulting iso egg-of-manjarolinux-qonos-xfce-minimun-amd64_2022-06-12_0920.iso 1,8G, can be found in Penguin's eggs - Browse /iso/manjaro at SourceForge.net we reduced iso size compared to previuos version about 100M.

@Yochanan @Ste74 @codesardine

Ok, let me do It…

1 Like

manjaro-tools-iso

To not depend from manjaro-tools-iso, who bring a lot of stuffs not strictly necessary for eggs, we need:

cut and paste

git clone https://gitlab.manjaro.org/tools/development-tools/manjaro-tools
sudo cp manjaro-tools/initcpio/hooks/ /usr/lib/initcpio/ -R
sudo cp manjaro-tools/initcpio/install/ /usr/lib/initcpio/ -R
sudo cp manjaro-tools/initcpio/script/miso_shutdown /etc/initcpio/

We must do that, probably during eggs installation.

No. Then penguins-eggs will conflict with manjaro-iso-tools-git.

OK Yochanan, but that I’m trying is to find a solution!

How will be possible to get that?

We need just: hooks and install contents from manjaro-iso-tools and the script miso_shutdown.

I just arranged this page on sourceforge with the main indications for eggs on manjaro.

this week trying to optimize the PKGBUILD of the package I made a lot of progress and tested eggs with the new stable and and testing updated.

On my PKGBUILD I cleaned it up, reintroduced penguins-eggs.install and removal of the various files that eggs generates for its configuration.

Also, I configured for manjaro, the automatic removal of both calamares and penguins-eggs at the end of installation.

That leaves, the problem of how to “inherit” from manjaro-tools-iso the various hooks that eggs needs without taking everything else with it. I rely on those who know more about this than I do, but it should not be impossible.

@ste74 @Yochanan @codesardine

My answer remains the same as above.

I’ve attempted to improve the PKGBUILD, but I can only do so much when the upstream repo is neither organized nor actually designed to be installed to the system. A Makefile to assist packagers would also be nice.

I still think it would be best to use this tool in userspace as it is. However, it is nice to be able to have all dependencies tied to the package that requires them instead of having to explicitly install things for user space program.

1 Like

Of course, you are right… Unfortunately, I’m used to work mostly alone so, this is my foult!

My problem in all the ways is not so much - to have or not to have the package on community - but to make eggs usefull for users.

The idea is to bring here, where I see a little more interest, the capabilitis of eggs: give to the system the capability of reproduce and reinstall. In short:

  • remaster/install both CLI/Desktop base or finished system;

I want Include too a wardrobe of costumes too: a repo with collection of preconfigurated configurations.

I did that on Debian - and it’s already included but not working in manjaro version - I have another repo penguins-wardrobe with pre-created costumes (desktop configurations), servers (servers configurations) and accessories (used for common things).

Nothing so great, customizing a system takes time and need to do so, mostly just samples except for my development machine “colibri” who I really use every day, and other birds who can be build on Debian/Devuan or Ubuntu.

The “great hope” is to add manjaro, spread eggs and assist to an evolution… I’m just a dreamer perhaps.

Thanx a lot for your answers, I will try to define a Makefile to install eggs, to help mantainers.

Ok, I was finally able to get a naked version of manjaro.

This is just a CLI system, but capable of reproduction. The image is about 800M and can be used to create a server, to install and try a different desktop and so on.


ruah-boot-live

Of course, we need again to clean and improve things, I hope here to get interest, feedback and help.

I think eggs can be already good to build servers, and remaster custom GUI systems (something like the old systemback in Debian or the venerable Remastersys). Here I tryed to replicate that and dress with a nice metaphora: penguins, eggs and reproduction.

Well, the composition is starting to work and be usable, there are again things to do but it’s possible to install and remaster a manjaro CLI system using eggs.

I put the resulting ISO image on my Penguin’s eggs page on sourceforge, and made a short video to give an idea of that I’m speacking: Just a installation of a naked manjaro system remaster with eggs - YouTube

I think can be usable enought, I heard about peoples wanting use manjaro as server, eggs let to install, change and remaster your CLI system as much you need. BTW: it work with desktop too and in that case, it’s prerefible to use GUI installer Calamares.

@codesardine @Ste74 @Yochanan

Just released, a new version

eggs-9.1.33

All the methods of class krill-install, are now on individual files under ./modules. This is not a difference of beaviour, but was made in the hope to help peoples experts in calamares to try/use/collaborate in krill

  • krill: command install became krill
  • krill: added autoconfiguration from internet for timezone;
  • krill: now /etc/locale.gen seem to be OK on manjaro
  • krill: command localectl set-keymap [map] in krill-sequence don’t update /etc/default/keyboard, I tried to force that, but again don’t work. As workaround it’ possible to reconfigure keyboard after the installation.

2 posts were split to a new topic: Penguins-eggs throws error on 32-bit