В Mon, 20 Apr 2015 14:11:07 -0500 Richard Nelson <[email protected]> пишет:
> Greetings, > > On Mon, Apr 20, 2015 at 10:00 AM, Evgeniy Shumilov < > [email protected]> wrote: > > > > > I understand about dpkg working. But I needn't make some changes in > > current dpkg base. Application is amount of files and libraries. If > > some libraries exists in main system, I can plug aufs layer above > > with same version and it will works fine. I planning to make > > squashfs from debian packages of the same versions. Yes, I know > > about scripts, that included in deb packages. I know, that it can > > change some other files. Certainly, I will not have file > > associations in my Desktop environment and something like this, but > > I can automatically makes menu items or something else to start it. > > I will be able to start application in it's path, and this > > application will take it's libraries and resources from it's path. > > I can make some tool, that will extract anything from deb packages > > and make squashes. And then if it will be necessary, I can watch > > post-inst scripts and find out, what I need to do. > > > > The worst thing, that can happened - I will try to install already > > existing application. I think, you should get a lot of warning > > messages in apt output in this case. But it's not critically. Even > > if application won't be installed, I can unplug squash and > > reinstall it, and than rebuild new squash with some changes. > > > > I also can understand, than it can be more complicated, that I can > > imagine at the moment, but I want to try. > > > > By the way - there are some versions of puppet (DebianDog for > > example), that was based on debian and it's normal working with deb > > packages as good as with squashfs files. It has few squashfs files > > on board. Such as base, xfce, openbox and other. You can pass > > options to kernel before boot to plug one or another list of > > squashes. Also, you can plug it on the fly, while working. > > > > So, I found points, where puppet collect options to mount and > > remount aufs branches. I was able to remount "/" mount point on the > > fly and anything works fine. To make it in debian-live, I should > > know at least branch name. It's not matter - how was build > > architecture of this distribution, if it uses aufs, you can add > > layer to brunch. So, I need some prompt, where I can find it. One > > idea is - unpack initrd, find all what can looks as mount point > > options and before each mount append duplicate of sring with echo > > command in beginning and redirecting output to the log file. Also I > > should make it in live scripts, but it's just takes a time. But I > > hopes, somebody knows better and easier way. > > > > WBR Evgeniy > > > > > This might assist since I use it to create psu files as service packs: > > http://live.debian.net/gitweb/?p=live-tools.git;a=blob;f=bin/live-partial-squashfs-updates;h=20da3f0c04f081c12237f3e3353e827398dbd9a1;hb=HEAD Thanks! But it's not so usefull, because I using my own scripts for making squashes and update filesystem.squashfs file. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]
