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

Post here if you are a new Porteus member and you're looking for some help.
User avatar
libernux
White ninja
White ninja
Posts: 28
Joined: 01 Nov 2011, 17:36
Distribution: porteus v3.1 32bit XFCE
Location: Netherlands

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

Post#1 by libernux » 24 Mar 2015, 13:55

Look in

Code: Select all

/mnt/live/memory/images
I was born with nothing and I still got most of it.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#2 by fanthom » 24 Mar 2015, 21:51

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
Please add [Solved] to your thread title if the solution was found.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#3 by fanthom » 25 Mar 2015, 21:35

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.
Please add [Solved] to your thread title if the solution was found.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

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

Post#4 by neko » 26 Mar 2015, 02:12

@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
#================================================================================

User avatar
Ed_P
Contributor
Contributor
Posts: 8361
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

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

Post#5 by Ed_P » 28 Mar 2015, 19:52

A very impressive script neko. Thank you for sharing it. Image
Ed

Post Reply