Woof: disable arch install scripts

When noryb009 updated Woof for improved building from Arch Linux packages, he did a great job in script '0setup', with a fast awk script.
In '3builddistro' he implemented execution of the Arch .INSTALL script. He accumulated these in rootfs-complete and then chrooted into rootfs-complete to execute them.

I took a fresh look at this today. When doing a cross-build, say building on a x86 host for a arm target, chroot cannot be used.
So, I looked through all of the .INSTALL scripts -- there were only 34 of them in the Puppy build, furthermore most of them are trivial and can be disregarded. I narrowed it down to 8 that actually do anything, then decided they are also trivial.

Besides, 4 of those 8 are in the 'devx', so do not get executed by the current code in 3builddistro.

I noticed that those .INSTALL scripts all have relative paths, so could probably be executed without chroot, and in fact would probably be better off being executed in 2createpackages, in the same way that Slackware 'doinst.sh' scripts are executed (which does aufs-mount the devx, and does not use chroot, and applies some precautions).

Anyway, for now I have totally disabled execution of Arch '.INSTALL' scripts in 3builddistro.
They are still executed when Arch packages are installed via the PPM however, a feature that I introduced yesterday.

Woof commit:
http://bkhome.org/fossil/woof2.cgi/info/885ad3c720


Posted on 16 Mar 2013, 9:41


Comments:

Posted on 17 Mar 2013, 3:23 by don570
PicUntu 0.9
Announcing the release of PicUntu 0.9 RC2.1

PicUntu is a Linux distribution, based on Ubuntu,
designed to work on your RK3066 chipset devices.
In less than 8 weeks, of the first time, that
Linux kernel was able to be run on MK808/UG802/MX1
etc (RK3066 chipset) based USB sticks, we are
happy to announce the world's first complete Linux
distribution for the RK3066.

Starting with a minimal download of no more than
170MB, you can use menus and simple selections to
configure your system to be a full fledged system

Use this tiny little 10W user as your formal content management portal. Here is an example of site running on PicUntu
Developer's paradise: If you would rather develop kernels and modules for the arm world, simply select to download the kernel sources and you can begin coding in a few minutes.
Power GUI desktop: Yes, we can be green and beautiful Running under 6W, average you can have the pleasure of a full High Definition (1920x1080p) desktop, with a choice of xfce/gnome shells




Posted on 17 Mar 2013, 8:24 by noryb009
.INSTALL scripts
.INSTALL scripts do not always have relative paths, see here.


Posted on 19 Mar 2013, 2:26 by don570
Review of $60 RK3066


Review of $60 RK3066

http://www.laptopmag.com/review/stick-computers/android-mini-pc-rk3066.aspx

Android Mini PC RK3066 Review
by Avram Piltch on February 5, 2013

Pros: Android 4.1 Jellybean OS including Google
Now; Powerful enough for gaming; Bluetooth radio
allows for more expansion; Makes video calls when
paired with webcam;

Cons: Need to supply your own power adapter