[Grml] Adding packages

Lars-Erik Helander lehswe at gmail.com
Sun Mar 8 15:32:01 CET 2009

Hi Mika and thank you very much for your response.

The remount method looks like a nice and simple solution :)

Regarding the persistence solution, I think I would rather like to
have a solution where the installed packages are not forced to be
loaded into main memory - as I understand that the live-snapshot would
do, or ...?
Do grml have some toolchain that will allow me to either add stuff to
an existing squashfs or have the system "union mount" additional
squashfs files?

While I am asking, here is another question:
I would like to add a few lines to the file /etc/security/limits.conf
in a way that these lines are part of the file at the point in time
when the file is first accessed during boot. Shall I produce a config
(config.tbz) that contains my version of the file or should I add a
script that gets executed during boogt and that will add the lines to
the file? Any details on how to do this in the preferred way are most
welcome :)

Kind regards


2009/3/8 Michael Prokop <mika at grml.org>:
> * Lars-Erik Helander <lehswe at gmail.com> [20090308 12:40]:
>> Problem 1: Adding another package to the "debs" directory
>> Since the /live/image tree is mounted read-only I cannot add/remove
>> any .deb files in the "debs" directory.
> [...]
>> Is there a method that would allow me to do that.
> mount -o remount,rw /live/image
> :)
>> Problem 2: Avoid installation at boot
>> The above method (putting .deb files in the "debs" directory) is very
>> useful for finding out the packages you need to have. Once you know
>> what packages you would need than you would be better off with a
>> method that would not require you to install the packages on each
>> boot, but that these packages came pre-installed.
>> A natural way would be to either add these packages to the live system
>> package set somehow.
>> As I can see the live system consist of a squashfs file and a file
>> that points out the name of this file.
>> Is there a way to either extend the existing squashfs file or to add
>> some additional squashfs (or other fs-type) file that will be mounted
>> along the original squashfs file?
> Persistent-root is a feature on our current roadmap.
> You can play with it already using live-snapshot (which is
> part of the 2008.11 release):
> http://live.debian.net/manual/html/persistence.html
> regards,
> -mika-
> --
>  http://grml.org/            # Linux for texttool-users and sysadmins
>  http://wiki.grml.org/       # share your knowledge
>  http://grml.supersized.org/ # the grml development weblog
>  #grml @ irc.freenode.org    # meet us on irc
> Version: GnuPG v1.4.6 (GNU/Linux)
> iD8DBQFJs8d92N9T+zficugRAlDTAJwKEqQzJKBmSYXgbKJXrA8rY6ceygCggPk1
> ZP2zagJkYEHjKZeME56S8Xg=
> =gYBz
> _______________________________________________
> Grml mailing list - Grml at mur.at
> http://lists.mur.at/mailman/listinfo/grml
> join #grml on irc.freenode.org
> grml-devel-blog: http://grml.supersized.org/

More information about the Grml mailing list