Page 1 of 1

Re: LxQt "Base" Folder (.../var/log/packages)

Posted: 24 Mar 2015, 13:55
by libernux
Look in

Code: Select all

/mnt/live/memory/images

Re: LxQt /porteus/base "modules" (listed @ /var/log/packages

Posted: 24 Mar 2015, 21:51
by fanthom
get packages from slackware + pkgs.org then convert them to modules.
please mind that with this method you'll get Slackware live rather than Porteus live (some Porteus specific cheatcodes and features will be missing).

or better:
- unpack core module
- run 'ROOT=/path/unpacked_module removepkg some_pkg' and the same for installpkg

reference:
http://www.fiveanddime.net/man-pages/installpkg.8.html

Re: LxQt /porteus/base "packages" (listed @ /var/log/package

Posted: 25 Mar 2015, 21:35
by fanthom
I assume one possible reason the devs used "base" bundles instead of modules is so n00bs won't brick the distro.
IMHO... I'm not a n00b and in any case I backup so bricking is moot.

this is correct.

please contact me through fanthom@porteus.org and i will upload what i have for you. please mind that i wont provide ANY support for this and for the custom Porteus build you make. i simply have no time for this - sorry about that.

Re: LxQt /porteus/base "packages" (listed @ /var/log/package

Posted: 26 Mar 2015, 02:12
by neko
@blue4meridian

I separate a module roughly into packages depending on the information of "/var/log/packages"
by the following script.
The unseparated results (symbolic linkages, etc.,) are separated manually.

#================================================================================
#! /bin/sh
move()
{
for DIR in `cat all/var/log/packages/$1 | sed -n '/^FILE LIST:$/,//p' | grep -v '^FILE LIST:$' | tr ' ' '!' `
do
if [ $DIR = "./" ]
then
continue
fi
DIR=`echo $DIR | tr '!' ' ' `
if [ -d "all/$DIR" ]
then
if [ ! -h "all/$DIR" ]
then
mkdir -p "pkg/$1/$DIR"
if [ "${DIR:0:10}" = "home/guest" ]
then
chown guest pkg/$1/$DIR
chgrp guest pkg/$1/$DIR
fi
continue
fi
fi
mv "all/$DIR" "pkg/$1/$DIR" 2>/dev/null
done
mkdir -p pkg/$1/var/log/packages
mv all/var/log/packages/$1 pkg/$1/var/log/packages/. 2>/dev/null
}

mkdir -p pkg
for PKG in `ls all/var/log/packages` ;
do
echo $PKG
move $PKG
done
#================================================================================

Re: Solved:LxQt /porteus/base (listed @ /var/log/packages)

Posted: 28 Mar 2015, 19:52
by Ed_P
A very impressive script neko. Thank you for sharing it. Image