Porteus/Arch aka Sensei (Porteus w/pacman package manager)

Porteus based on Arch with pacman package manager.
User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#106 by ncmprhnsbl » 12 Apr 2014, 22:09

just tried changes=/porteus (syslinux) on ext4 usb, with my openbox setup. (i dont usually use changes, just modules)
seems to be functioning correctly, with the usual stuff created.

activate is working, after making suggested mount/umount changes(using the older iso)....any other tweaks i should know about?

also, i updated openssl, from my arch cache, with no problems( i think), i don't know if this is terribly important for a home user?
maybe something to put in sensei repo...
quite easy for anyone to get from arch web interface tho
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#107 by francois » 12 Apr 2014, 22:11

@ncmprhnsbl:

Would you try cinnamon desktop module on top of your installation and see if the changes are kept? If you may.
Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#108 by ncmprhnsbl » 12 Apr 2014, 22:18

@francois
i suppose i can... i suspect my net is about to become a bit slow(weekend,school holidays, rainy) :crazy: .. it could take a while....

edit.. no its not too bad...the kiddies are still in bed ;)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#109 by francois » 12 Apr 2014, 22:58

It must be quite early at your place. Here its supper time. See you later.

Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#110 by ncmprhnsbl » 13 Apr 2014, 03:24

ok,
activating cinnamon on top of my setup didnt go well... el blankish fallback.
some conflict i guess..
however, changes were definately written..
are you saying there is nothing in your changes folder or is it that they are not loading?

phase2
rebooted to cinnamon only: changes=/dev/sda3/senchange
(by putting cin module in optional and using load= and noload= )
nemo doesnt let me see or mount sda3 (but all others, automounting externals)
so i moved the panel and rebooted, which worked.
and then rebooting back into openbox, i could check /sda3/senchange which showed the usual files.
what does /var/log/porteus-livedebug say?
should be a line like this:

Code: Select all

# Changes are stored in:
/dev/sda3/senchange
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#111 by stifiling » 13 Apr 2014, 07:54

that's pretty messed up francois got stopped, at his preferred way of using the system, at that spot. i'm pretty sure though if the determination is there...we'll finally get it figured out.
ncmprhnsbl wrote:nemo doesnt let me see or mount sda3 (but all others, automounting externals)
"automounting"? they should be 'unmounted'. if you're ok w/trying that again, using the changes=/path cheatcode, could u try by first replacing these files... and seeing if the changes drive is mounted in /mnt....as it should be.
these files are:
another 64-bit initrd.xz
/etc/init.d/nodm
/etc/init.d/unmount
/etc/rc.d/rc.local

thanks in advance.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#112 by ncmprhnsbl » 13 Apr 2014, 13:00

ok.. replaced said files...
Image
http://imgur.com/Fp07noK
in above image : nemo preferences showing "Media Handling" for removable media(default checked)
usb partition i boot from is correctly mounted in /mnt ... the other two partitions are on the same usb drive.
the other internal partitions are correctly unmounted at start.
after manually mounting(terminal) internal partition containing /changes in /run/media/root/, nemo still does not list it in devices.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#113 by francois » 13 Apr 2014, 13:43

@guys:
Your work is appreciated. However, don't feel obliged up to spending your weekend on it. :oops:
Prendre son temps, profiter de celui qui passe.

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#114 by stifiling » 14 Apr 2014, 02:37

well francois...i've been using the changes=path, rather than changes=porteussave.dat every since u shined the light on it. so it's working correctly...it's more than likely smthn in the grub menu entry. have you raised the 'white flag' on it?

ncmprhnsbl,

that's correct...the boot drive/partition won't show up in devices...the way to get to access it is by navigating to either /mnt/sd* or /mnt/home. i see your /mnt/home symlink is broken. it's not supposed to be. but.../dev/sdb1 is the boot partition...but your saving your changes on the /dev/sda7 partition?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#115 by ncmprhnsbl » 14 Apr 2014, 05:15

stifiling wrote:is the boot partition...but your saving your changes on the /dev/sda7 partition?
yes
stifiling wrote: i see your /mnt/home symlink is broken. it's not supposed to be
hmm i noticed this too.. not sure when this happened :unknown: initrd.xz maybe?
makexzm didnt like it so i just deleted it (live)..... i'll get back to you on that.....
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#116 by stifiling » 14 Apr 2014, 22:54

ncmprhnsbl,

WOW..you guys have got some unique ways of doin things...but i like the ability to do what i want, how i want too...so i'm no exception.

as of now though, if you delete the word 'unmount' from the DAEMONS line in /etc/rc.conf...it'll give you the original porteus behavior where all your drives and partitions are automounted. but if u happen to like them unmounted...like me...i'm trying to fix it now where the boot, and changes partion, won't unmount....and the /mnt/home symlink will point to the changes partition...instead of the boot partition.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#117 by ncmprhnsbl » 15 Apr 2014, 07:33

:) ..porteus has more choices than you can point at stick at...
..i don't usually use changes, just a module with some configs..or modified module..
in the past i found magic folders option quite handy too..
the reasoning in this case is to lessen writes to my usb flash.

with spacefm and udevil in my openbox setup, all drives are visible. unmounted.
maybe external usbs are automounted, but thats configurable within spacefm..

as far cinnamon goes, to me, it is a slightly less retarded gnome3..
lest i start ranting...suffice to say its not for me. :evil:

on another topic, i had a bit of a muck around with makexzm, attempting to get it build from AUR.
using packer, specificly version from alphaos (git?), which has 'packer -S <app> --buildonly' option.
take a look at 'makesb' script from alpha link, which i notice is diferent than one i was messing with from an earlier version.
maybe you can tweak it for sensei
or get the relevent bits, my scripting skills are virtually nonexistent. and workflow chaotic. :%)
i sort of got it working by simply changing all the pacman entries with packer..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#118 by stifiling » 17 Apr 2014, 00:26

ncmprhnsbl wrote:'packer -S <app> --buildonly'
i see this in the makesb script. which let's me know that the original packer script is edited to work w/makesb. i'll have to download and check out that packer script to see if i can get it and makexzm edited to work in sensei....even though i prefer yaourt.

stifiling
Contributor
Contributor
Posts: 93
Joined: 14 Jul 2013, 03:10
Distribution: Porteus w/pacman pm
Location: home

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#119 by stifiling » 18 Apr 2014, 10:43

so..i haven't examined the way makesb does it using packer, but in order to successfully compile from source...all the dependecies would have to first be 'installed'. so with that, i edited makexzm to first compile and temporarily install the dependecies...and then ask if u want to uninstall the package after making the xzm module. it's using yaourt not packer. give it a quick run when u get a chance and see what u think...

first though, edit line #34 in the file /etc/yaourtrc to read:

Code: Select all

EXPORT=2
makexzm.tar.gz

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3925
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Porteus/Arch aka Sensei (Porteus w/pacman package manage

Post#120 by ncmprhnsbl » 20 Apr 2014, 00:51

tested makexzm
first i get this:
mkdir: cannot create directory ‘/mnt/home’: File exists
i just delete (broken) symlink .....(i should update to newer iso, so we'er on the same page..)....
forgot to edit yaourtrc first time, but it made no difference to the result:

Code: Select all

root@sensei:~# makexzm wmfs2-git
:: Saving packages cache
mv: cannot stat ‘/var/cache/pacman/pkg/*’: No such file or directory
:: temporarily installing wmfs2-git

==> Downloading wmfs2-git PKGBUILD from AUR...
x PKGBUILD
Comment by erufu  (2012-01-17 20:56)
wmfs and wmfs2 are no longer compatible so I update the package to put them in conflict to avoid errors.

Comment by Unia  (2012-02-15 16:15)
Does this really conflict with WMFS? I want to try this one but I don't want to lose the WM I currently have

Comment by erufu  (2012-02-15 21:56)
WMFS and WMFS2 use the same wmfsrc file in ~/.config/wmfs/.

So in fact you have two solutions :

- save your wmfsrc (in case of ...), uninstall wmfs, install wmfs2 ans use the default config file in /etc/xdg/wmfs/ (in fact the wmfsrc is too different between the two versions) with wmfs -C /etc/xdg/wmfs/wmfsrc after testing uninstall wmfs2-git

OR

- Modify the PKGBUILD of wmfs and wmfs2-git
= Remove the conflict with wmfs2-git on wmfs and reinstall it
= Remove the conflit with wmfs on wmfs2-git add the line : "mv ${pkgdir}/usr/bin/wmfs ${pkgdir}/usr/bin/wmfs2" after the WARNING and install it
= Normally you will have 2 wmfs in /usr/bin and you use wmfs2 -C /etc/xdg/wmfs/wmfsrc to run wmfs2 with default config

You can find me on #wmfs at on freenode.

ps : wmfs2 will be soon replace the old wmfs on the wmfs package. In fact wmfs2 is enough stable to release it.

Comment by alkino  (2013-11-06 10:39)
Update? https://github.com/xorg62/wmfs There is a recent fix.

Comment by erufu  (2013-11-07 12:48)
I will update the PKGBUILD this week-end. Thanks for the warning comment.

wmfs2-git 20131111-1  (Thu Dec 15 07:56:38 EST 2011)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> wmfs2-git dependencies:
 - libxft (already installed)
 - imlib2 (already installed)
 - libxinerama (already installed)
 - libxrandr (already installed)
 - git (already installed)


==> Continue building wmfs2-git ? [Y/n]
==> -----------------------------------
==> 
==> Building and installing package
==> WARNING: Building package as root is dangerous.
 Please run yaourt as a non-privileged user.
==> Making package: wmfs2-git 20131111-1 (Sun Apr 20 10:18:58 EST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Starting build()...
==> Connecting to GIT server...
Cloning into 'wmfs'...
remote: Reusing existing pack: 9696, done.
remote: Total 9696 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (9696/9696), 10.03 MiB | 210.00 KiB/s, done.
Resolving deltas: 100% (7435/7435), done.
Checking connectivity... done.
error: git-remote-https died of signal 13
==> GIT checkout done or server timeout.
Compilation resume:
OS=Linux
CFLAGS= -DHAVE_XINERAMA -DHAVE_IMLIB2
LDFLAGS=-lX11 -lXinerama -lImlib2 
PREFIX=/usr
MANPREFIX=/usr/share/man
XDG_CONFIG_DIR=/etc/xdg

You can run 'make' now :-)

rm -f src/barwin.o src/config.o src/client.o src/event.o src/ewmh.o src/infobar.o src/layout.o src/launcher.o src/parse_api.o src/parse.o src/screen.o src/tag.o src/util.o src/status.o src/systray.o src/mouse.o src/log.o src/wmfs.o wmfs
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/barwin.c -o src/barwin.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/config.c -o src/config.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/client.c -o src/client.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/event.c -o src/event.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/ewmh.c -o src/ewmh.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/infobar.c -o src/infobar.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/layout.c -o src/layout.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/launcher.c -o src/launcher.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/parse_api.c -o src/parse_api.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/parse.c -o src/parse.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/screen.c -o src/screen.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/tag.c -o src/tag.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/util.c -o src/util.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/status.c -o src/status.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/systray.c -o src/systray.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/mouse.c -o src/mouse.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/log.c -o src/log.o
cc -c  -DHAVE_XINERAMA -DHAVE_IMLIB2 -DXDG_CONFIG_DIR=\"/etc/xdg\" -DWMFS_VERSION=\"-g3c701a9\" -Wall -Wextra src/wmfs.c -o src/wmfs.o
cc -o wmfs src/barwin.o src/config.o src/client.o src/event.o src/ewmh.o src/infobar.o src/layout.o src/launcher.o src/parse_api.o src/parse.o src/screen.o src/tag.o src/util.o src/status.o src/systray.o src/mouse.o src/log.o src/wmfs.o -Wl,-O1,--sort-common,--as-needed,-z,relro -lX11 -lXinerama -lImlib2 
==> Starting package()...
installing executable file to /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/bin
mkdir -p /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/bin
install wmfs /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/bin
installing xsession file to /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/share/xsessions
mkdir -p /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/share/xsessions
install -m 444 wmfs.desktop /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/share/xsessions
installing default config file to /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/etc/xdg/wmfs/
mkdir -p /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/etc/xdg/wmfs/
install -m 444 wmfsrc /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/etc/xdg/wmfs/
installing manual pages to /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/share/man/man1/
mkdir -p /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/share/man/man1/
install -m 644 wmfs.1 /var/abs/local/yaourtbuild/wmfs2-git/pkg/wmfs2-git/usr/share/man/man1/wmfs.1
==> WARNING ! Please copy the default config file '/etc/xdg/wmfs/wmfsrc' in '~/.config/wmfs/', or wmfs2 won't start !
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "wmfs2-git"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Finished making: wmfs2-git 20131111-1 (Sun Apr 20 10:20:16 EST 2014)

==> Continue installing wmfs2-git ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): wmfs2-git-20131111-1

Total Installed Size:   0.17 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [------------------------] 100%
(1/1) checking package integrity                   [------------------------] 100%
(1/1) loading package files                        [------------------------] 100%
(1/1) checking for file conflicts                  [------------------------] 100%
(1/1) checking available disk space                [------------------------] 100%
(1/1) installing wmfs2-git                         [------------------------] 100%
Empty cache directory
which leaves me with wmfs2-git installed but no .xzm (and no package) .......or should i say no to the install part?
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply