ArchPup 12.12.2

For talk and support relating specifically to Puppy derivatives
Message
Author
stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#391 Post by stifiling »

Sim, did u get a chance to look into the issue with those 4 problematic folders inside of /var/lib/pacman/local? the 4 folders that aren't telling pacman that they are already installed??

simargl

#392 Post by simargl »

Build script that make two main sfs, has also defined 'false packages list'
  • sh-4.2.039-1 libjpeg-8.0.2-1 libsystemd-196-2 systemd-tools-196-2
That is needed because many packages depend on for example libjpeg, but that
package does not exist, instead it is provided by package libjpeg-turbo. Same is with
sh that is provided with bash... and you have now discovered more of that packages:
libusb is provided by libusbx; procps with procps-ng, and util-linux-ng with util-linux.
For libcups problem is different - in original Arch they split cups in two packages, but
when I replaced original cups and libcups with my package forgot to add libcups to
pacman's base. I will add those new packages to false pkgs list for future releases,
probably more of them exist, but no way to easy find them.

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

#393 Post by stifiling »

no problem sim, because systemd 'used to' also do it, but with the newer release, it all of a sudden stopped. I'm knowing that there may be others....so as i encounter them, i'll report them...so it can be remedied.

Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#394 Post by Scooby »

simargl wrote:Build script that make two main sfs
Simargl, where can you download buildscripts anyway?


Thanks Mavrothal for the help you've given.

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

#395 Post by stifiling »

when installing a package using yaourt it wants to install linux-headers, even if linux-3.6.8-12.12.sfs is already loaded. the linux-3.6.8-12.12.sfs file should have the folder /var/lib/pacman/local/linux-headers-3.6.8-1 inside of it, so that doesn't happen.

and if the /etc/ssl/certs are inside of the archdev.sfs....it would be nice to have yaourt in the archdev.sfs as well.

also the archdev.sfs has /usr/include/geany inside of it. so if i have the archdev.sfs loaded, and try to install geany, it won't install, saying that those files already exists. is it necessary to have /usr/include/geany inside the archdev.sfs?

these things are minor, but the goal is 'perfect' right? just running into some things that doesn't have to be a minor issue. they can be a 'zero' issue...because they can be fixed.
bark_bark_bark wrote:That didn't work at all. It said that the module doesn't exist.
Let's see if this will work. Download the attached file.

Code: Select all

gzip -d /path/to/wl.ko.gz
mkdir /lib/modules/3.6.8/misc
copy the wl.ko file into the misc directory

Code: Select all

depmod -a
modprobe lib80211
modprobe wl
does it load?

simargl

#396 Post by simargl »

stifiling wrote:when installing a package using yaourt it wants to install linux-headers, even if linux-3.6.8-12.12.sfs is already loaded. the linux-3.6.8-12.12.sfs file should have the folder /var/lib/pacman/local/linux-headers-3.6.8-1 inside of it, so that doesn't happen.

and if the /etc/ssl/certs are inside of the archdev.sfs....it would be nice to have yaourt in the archdev.sfs as well.

also the archdev.sfs has /usr/include/geany inside of it. so if i have the archdev.sfs loaded, and try to install geany, it won't install, saying that those files already exists. is it necessary to have /usr/include/geany inside the archdev.sfs?
OK, linux-headers folder will be added for next kernel source sfs.

I added yaourt in only one version earlier because pacmanxg required it, now archdev.sfs has
packer and pistall.sh script inside runs update-ca-certificates, so it works without user intervention.
One package to browser AUR is enough and it will be packer, yaourt is slower and asks
too many questions...

Development files from adrv are also in archdev.sfs, now when I think about it, it's obviously
wrong so i might just move geany to archapps - I have it loaded all the time anyway.

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

#397 Post by mavrothal »

simargl wrote:I added yaourt in only one version earlier because pacmanxg required it,
Any chance that pacmanxg will find its way back in archapps?
== [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
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#398 Post by mavrothal »

Scooby wrote:where can you download buildscripts anyway?
simargl's repos are here: https://bitbucket.org/simargl/
From what I can see (but not tried/tested),
The spkg repo contains the spkg and paka scripts that actually are the building engines for the Archpup packages.
You just clone the repo and run the install script to install them.
The sources repo has just that. Archpup-specific tarballs that are downloaded and installed by spkg
The def-scripts repo contains packman like instructions that tell spkg where to find how to handle the different packages that will be installed.
The archpup repo is where everything happens.
The "arch-tools" folder is like a rootfs-skeleton and contains some puppy-/archpup-specific scripts
The "list" folder caontains the arch-* and spkg-* lists of packages that determine which package to put in which sfs (base, dev, apps and adrv)
Finally the scripts folder contains the 2 scripts that actually build Archpup. mkroot I guess goes first to setup the environment and base follows to do the building.

I hope this helps.
Hopefully simargl or someone that actually tries it, will fill the (inevitably) missing important details and (probably) steps.
(one step that I do not see for example is where the initrd and the ISO are build. unless they are done "manually")
== [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] ==

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

#399 Post by stifiling »

stifiling wrote:does it load?
can someone who's tested the wl.ko module leave feedback...

does it load when doing 'modprobe wl'?
are you able to get online using your broadcom wireless hardware with it?

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#400 Post by peebee »

stifiling wrote:
stifiling wrote:does it load?
can someone who's tested the wl.ko module leave feedback...

does it load when doing 'modprobe wl'?
are you able to get online using your broadcom wireless hardware with it?
Hi Stifiling

Same result here as with the wl.ko that I compiled.....

The modules load apparently successfully with no errors but wlan0 is not created.....

dmesg:
[ 112.272992] lib80211: common routines for IEEE802.11 drivers
[ 112.273440] lib80211_crypt: registered algorithm 'NULL'
[ 133.339050] cfg80211: Calling CRDA to update world regulatory domain
[ 133.791453] wl: module license 'Mixed/Proprietary' taints kernel.
[ 133.791460] Disabling lock debugging due to kernel taint
the last 2 lines are normal for the wl driver.

Puzzling isn't it!!

There may be a conflict with the ssb driver - they do have to be loaded in a specific sequence....
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

#401 Post by bark_bark_bark »

It didn't work for me either and my broadcom device still isn't recognized.
....

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

#402 Post by mavrothal »

stifiling, peebee,
the archpup kernel might be a bit problematic
== [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] ==

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

#403 Post by stifiling »

mavrothal wrote:stifiling, peebee,
the archpup kernel might be a bit problematic
i was wondering if that may be the case. i myself am using the retroprecise non-pae kernel 3.2.32

but try adding to the file /etc/modprobe.d/blacklist.conf:

blacklist b43
blacklist bcma
blacklist ssb

and add to the file /etc/rc.d/MODULESCONFIG in the addlist line:

ADDLIST=' lib80211 wl '

it's also saying to try in addlist 'lib80211_crypt_tkip' instead of lib80211, and possibly blacklisting 'brcm80211'


so let's see if messing around with those different configurations, makes any difference.

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

#404 Post by stifiling »

you know something else that just dawned on me is that i don't think ppl really know that pacman is a 'complete' and easy to use package manager. Just reading the thread title it may be viewed by many as just another puplet by the name of ArchPup. based on Lucid, or Precise or something.

As silly as it may sound, it may register in a lot of users heads as "ArchPup:Made with latest Arch packages.........based on Precise".

Many people may be skipping over it because some of the other titles have a more attention getting headline, and they also don't know pacman's capabilities.

they don't know how easy it is to install those hellishly hard in traditional puppy, favorite apps of theirs using ArchPup, and is just using alternatives apps in a more attention getting 'title' derivative.

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

#405 Post by mavrothal »

mavrothal wrote: the archpup kernel might be a bit problematic
Looked at the kernel building def file a bit and I can see a potential problem.
It appends the aufs Kbuild into the kernel Kbuild

Code: Select all

cat $build/aufs3-standalone/include/linux/Kbuild >> include/linux/Kbuild
while aufs README says
- copy ./{Documentation,fs,include/linux/aufs_type.h} files to your
kernel source tree. Never copy ./include/linux/Kbuild.
You may want to correct it and trying building the kernel and headers again.
== [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] ==

rameshiyer

LAN setup with Static IP

#406 Post by rameshiyer »

Dear Darkcity

I would like to inform you that now I am getting internet on Start up after inserting the Code on /root/.start. However, another problem cropped up. i.e. now time clock is not showing properly.

darkcity wrote:EDIT:

@rameshiyer

is the solution similar to Stifiling's suggestion, here?
http://murga-linux.com/puppy/viewtopic. ... 048#677048

Could add the code to /root/.start if you don't want to manually run the script everytime.

BTW is there any chance of a Startup folder like in trad Puppy?


EDIT: thanks for USB drive help ; -)

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

#407 Post by darkcity »

How is the clock not showing properly, wrong time or wrong format. Are you still using the advice from Stifiling?
http://murga-linux.com/puppy/viewtopic. ... 840#676840

I haven't bothered setting the correct time and locale on archpup yet.

rameshiyer

Time Setting

#408 Post by rameshiyer »

Darkcity

Wrong time. Now time is around 1.25pm. However, in machine time is around 8.50am. As advised by Stiffing, the code was inserted was "hwclock --localtime --hctosys &" in '/root/.xinitrc' script.

simargl

#409 Post by simargl »

mavrothal: I removed line

Code: Select all

cat $build/aufs3-standalone/include/linux/Kbuild >> include/linux/Kbuild
and compiled only linux-headers package. btw linux-api-headers package is currently in
archpup.sfs, it should be in archdev, good thing for saving 700KB. Will test later compiling
whole kernel modules and vmlinuz, or someone else could test - you would need to do this:

Code: Select all

hg clone https://bitbucket.org/simargl/def-scripts
hg clone https://bitbucket.org/simargl/spkg
cd spkg 
sh install
Then copy linux from def-scripts to /mnt/home/data/puppy/def-scripts and type:
spkg -c linux.

EDIT: rameshiyer,darkcity
Time is automatically set to CET timezone with

Code: Select all

rdate -s tick.greyware.com
, read help->using archpup... for setting timezones

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

#410 Post by mavrothal »

simargl wrote:mavrothal: I removed line

Code: Select all

cat $build/aufs3-standalone/include/linux/Kbuild >> include/linux/Kbuild
and compiled only linux-headers package.
Good.
Now you could build aufs-utils without problems.
Just remember to build "shared" instead of the default "static" (sed -i 's/static/shared/' Makefile) otherwise you get a 20-times bigger package
simargl wrote:Then copy linux from def-scripts to /mnt/home/data/puppy/def-scripts and type:
spkg -c linux.
It would appear though that linux/def is still not building and packaging headers. Just the kernel and the modules.

Latter: I see you are moving to 3.7.2 8)
Be advised however that aufs will fail again, even with the last fix.
3.7.x aufs also needs:

Code: Select all

cp -r $build/aufs3-standalone/include/uapi/linux/aufs_type.h include/uapi/linux
== [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