ArchPup - First Puppy with pacman for installing apps

A home for all kinds of Puppy related projects
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#21 Post by mavrothal »

bark_bark_bark wrote:I know what Aufs is, I just think it sucks.
I see.
And what your preferred layered filesystem would be? (and why?)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#22 Post by bark_bark_bark »

Aufs is not a layered FS, but I'll just deal with it's existence for now.
....

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#23 Post by mavrothal »

bark_bark_bark wrote:Aufs is not a layered FS
Is not?
How would you characterize it then?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#24 Post by pemasu »

http://aufs.sourceforge.net/
Aufs3 -- advanced multi layered unification filesystem version 3.x
http://aufs.sf.net
Junjiro R. Okajima

bark_bark_bark
Posts: 1885
Joined: Tue 05 Jun 2012, 12:17
Location: Wisconsin USA

#25 Post by bark_bark_bark »

oh wow thank you for the clarifaction.
....

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#26 Post by mavrothal »

pemasu,
you are not fun at all... :lol:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#27 Post by simargl »

For new release there will be 3 sfs files in main iso:
archpup-132.sfs (core + Xorg)
adrv-132.sfs (openbox+thunar+geany)
archapps-132.sfs (qt firefox and everything else)


If for example archpup-132.sfs need some fixing I can after upload only that file not the whole iso.

development files from archpup-132.sfs will be moved to archdev.sfs, but
adrv and archapps will be self-containable -> nothing will be splitted :x, that is only right way

Adequate photo :P
Image

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#28 Post by darkcity »

this is my system-
Image

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#29 Post by mavrothal »

simargl wrote: mounting cd-rom, dvd, and usb :o fat-32 formatted all works
but :!: mounting internal hard disk drive (ntfs or ext4), failed with something like 'specify partition type error'
In devices list in spacefm are shown mount loop files, I couldn't disable that.
Interesting is that usb devices are handled properly with spacefm but they don't show at all in thunar without restarting pup-volume-monitor.
If I am able to fix problems with mounting internal disk and hiding loop devices, this could easily replace thunar and pup-volume-monitor.
To remove loop files I added this to /root/.config/spacefm/session*

Code: Select all

dev_show_hide_volumes-s=-/dev/loop0 -/dev/loop1 -/dev/loop2 -/dev/loop3 -/dev/loop4 -/dev/loop5  # etc
Like you I had problem mounting internal drives but also USB srives (ext or fat). It says "no mount program was found" and asks for udisks a 3+MB download.
Maybe a custom command to use pmount... :wink:
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

simargl

#30 Post by simargl »

mavrothal wrote:Like you I had problem mounting internal drives but also USB srives (ext or fat). It says "no mount program was found" and asks for udisks a 3+MB download.
Maybe a custom command to use pmount...
It works also with udevil, only that drives are mounted to /run/root/* instead of /mnt/.
Maybe make custom script apmount :idea: with options mount and unmount and call that from spacefm.

User avatar
Anniekin
Posts: 246
Joined: Wed 25 Feb 2009, 00:15

#31 Post by Anniekin »

interested... compiled for i686 or wat?

simargl

#32 Post by simargl »

Yes, Arch Linux is optimized for i686 cpu.
mavrothal: I made apmount script, works with every tested device and is so simple that I will add it below. :)

Code: Select all

#!/bin/bash

mount_function() {
  DRIVE=$(echo $DRIVE_FULL | sed 's/\/dev\///')
  if [ ! -d /mnt/$DRIVE ]; then mkdir /mnt/$DRIVE; fi
  mount /dev/$DRIVE /mnt/$DRIVE
}

umount_function() {
  umount $DRIVE_FULL
}

case "$1" in

  mount)
    DRIVE_FULL="$2"
    mount_function ;;

  umount)
    DRIVE_FULL="$2"
    umount_function ;; 
    
  *)
    echo "apmount
options: mount umount" ;;
esac

mike delaw
Posts: 13
Joined: Thu 17 Jan 2013, 09:45

#33 Post by mike delaw »

Hi!

I like ArchPup a lot since everything works and works good. But I have a couple of questions ( I am a complete newbie in Arch based Distros so please bear with me):

- how do I set a keymap to Slovenian language?

I have installed additional software (I didn't set any mirrors since default one is really fast!), but I have ran into problems with Wine and VLC:
- I have installed wine (or I think I did) bu it's not showing in menus ...
- I have installed VLC through yaourt but it didn't show up in menu. I tried pacman -S vlc and then it showed up in the menu, but refused to open.

What are proper commands for those two - pacman -S wine and pacman -S vlc or should I do something else ...

I am sorry that I have to ask these elementary questions, but I just want to know ...

simargl

#34 Post by simargl »

Hi mike delaw, and welcome 8)
For changing keymap to slovenian I believe you should edit /root/.start and replace

Code: Select all

setxkbmap us
setxkbmap si 
VLC will not run as root, that is decision of its developers, so use this (to start it as user arch)

Code: Select all

su arch
vlc 
For wine first start winecfg from terminal, setup your options and it will then work.
Also you might consider using makesfs wine, to have program wine in sfs module and load only
when you need it. :wink:

mike delaw
Posts: 13
Joined: Thu 17 Jan 2013, 09:45

#35 Post by mike delaw »

Thank you.

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#36 Post by stifiling »

Sim you don't like the idea of using the ydrv for archapps.sfs on the second iso?

This is the way i was seeing it as being for clean and easy use:

DISTRO_PUPPYSFS='archpup-12.12.sfs'
DISTRO_ADRVSFS='adrv-*-12.12.sfs'
DISTRO_YDRVSFS='archapps-12.12.sfs'

this way, if you use the * in the distro specs for adrv...the DE/WM can be easily changed...but still keeping the archapps useable.

so on the main.iso it would be:
adrv-openbox-12.12.sfs
archpup-12.12.sfs

and second.iso would be:
adrv-openbox-12.12.sfs
archpup-12.12.sfs
archapps-12.12.sfs

and also having premade and downloadable:
adrv-mate-12.12.sfs
adrv-xfce-12.12.sfs
adrv-kde-12.12.sfs
adrv-e17-12.12.sfs
adrv-lxde-12.12.sfs

to easily switch environments, but still being able to use the archapps.sfs. the user could download the mate.sfs and delete the openbox.sfs....and be ready to use the system using mate, and archapps.

and if the * is used in the distro specs file....it'll see whichever DE sfs the user may have in place. rather than having to rename it or something like that...

simargl

#37 Post by simargl »

I will use 3 sfs files as mentioned in page 2 in post with that funny picture :D
This:
adrv-mate-12.12.sfs
adrv-xfce-12.12.sfs
adrv-kde-12.12.sfs
adrv-e17-12.12.sfs
adrv-lxde-12.12.sfs
... sounds perfect, but I don't know if DISTRO_ADRVSFS='adrv-*-12.12.sfs' is supported :?:

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#38 Post by stifiling »

simargl wrote:I will use 3 sfs files as mentioned in page 2 in post with that funny picture :D
This:
adrv-mate-12.12.sfs
adrv-xfce-12.12.sfs
adrv-kde-12.12.sfs
adrv-e17-12.12.sfs
adrv-lxde-12.12.sfs
... sounds perfect, but I don't know if DISTRO_ADRVSFS='adrv-*-12.12.sfs' is supported :?:
it works sim...i tested it.

simargl

#39 Post by simargl »

mavrothal,
In /tmp/bootsysinit.log this error is reported
df: '/pup_new': No such file or directory
So I opened init script from initrd.gz, and it must be problem with these lines */1239-1241/

Code: Select all

#RW (top) layer now has a tmpfs, PDEV1 or ${DISTRO_FILE_PREFIX}save mounted on it. calc free space...
[ $FREEK -eq 0 ] && FREEK=`df | grep ' /pup_rw' | tr -s ' ' | cut -f 4 -d ' '`
[ ! $FREEK ] && FREEK=0
This is with new initrd.gz (adrv and ydrv), with old one that had just adrv this error is not
reported. I will atach init script, so you could compare maybe I didn't apply patch correctly.
Attachments
init.tar.gz
(28.37 KiB) Downloaded 366 times

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#40 Post by mavrothal »

simargl wrote:mavrothal,
In /tmp/bootsysinit.log this error is reported
df: '/pup_new': No such file or directory
So I opened init script from initrd.gz, and it must be problem with these lines */1239-1241/

Code: Select all

#RW (top) layer now has a tmpfs, PDEV1 or ${DISTRO_FILE_PREFIX}save mounted on it. calc free space...
[ $FREEK -eq 0 ] && FREEK=`df | grep ' /pup_rw' | tr -s ' ' | cut -f 4 -d ' '`
[ ! $FREEK ] && FREEK=0
This is with new initrd.gz (adrv and ydrv), with old one that had just adrv this error is not
reported. I will atach init script, so you could compare maybe I didn't apply patch correctly.
I do not know why (did you apply the patch "manually"?) but in your init (lines 1879-1880) you have:

Code: Select all

mount -t aufs -o udba=reval,diropq=w,dirs=${UMNTRW}${UMNTRO0}${ALAYER}${UMNTRO1}${ZLAYER}${UMNTRO} unionfs /pup_new
 mount -t aufs -o udba=reval,diropq=w,dirs=${UMNTRW}${UMNTRO0}${ALAYER}${YLAYER}${UMNTRO1}${ZLAYER}${UMNTRO} unionfs /pup_new 
Comment out the first one if you want adrv and ydrv. Comment out the second for ardv only.

I trust that you have added all the needed mount points in initramfs
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Post Reply