Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=emul32-tools/.git;a=commitdiff;h=5ba42d8784df11a8c656ef602eabc65d3fadd0bf
commit 5ba42d8784df11a8c656ef602eabc65d3fadd0bf Author: VMiklos <[EMAIL PROTECTED]> Date: Sun Jul 22 01:38:39 2007 +0200 README: spellcheck, asciidoc syntax fixes diff --git a/README.Frugalware b/README.Frugalware index 539e724..cbc8305 100644 --- a/README.Frugalware +++ b/README.Frugalware @@ -1,59 +1,81 @@ -=== Whats this and whats good for +=== Overview -emul32-tools contains small scripts to do 32bit chroot emulation easly on a -64bit machine. It got two major script emul32 and rc.emul32-tools. -rc.emul32-tools is an initscript which sets everything on start. Sets the directory -paths, does mounts for 32bit chroot dirs and copy neccessary files like passwd -shadow and other small stuff to 32bit chroot from 64bit host OS. This need to -be done. +`emul32-tools` contains small scripts to do 32bit chroot emulation easily on a +64bit machine. It got two major script `emul32` and `rc.emul32-tools`. -emul32 is a wrapper for linux32 chroot /usr/lib/chroot32 foobarbaz . It does -much stuff automatically, like creating a 'Common' directory between host and guest -. This wrapper calls the application inside the 32bit chroot. Ofcourse first it -chroots into it and creates home directories and other small stuffs. +`rc.emul32-tools` is an initscript which sets everything on start. Sets the +directory paths, does mounts for 32bit chroot directories and copy necessary +files like `passwd`, `shadow` and other small stuff to 32bit chroot from 64bit +host OS. This need to be done. +`emul32` is a wrapper for + +---- +# linux32 chroot /usr/lib/chroot32 <command> +---- + +It does much stuff automatically, like creating a 'Common' directory between +host and guest . This wrapper calls the application inside the 32bit chroot. Of +course first it chroots into it and creates home directories and other small +stuffs. === What you need to do for proper working and how to use -First, you need to install emul-core (TODO!) via pacman-g2. +First, you need to install `emul32-tools` (TODO!) via `pacman-g2`. -pacman-g2 -S emul-core +---- +# pacman-g2 -S emul32-tools +---- -This will pulls all neccessary -emul packages to the chroot32 directory. +This will pulls all necessary `-emul` packages to the `/usr/lib/chroot32` +directory. -Second, you need to add your user into sudoers file. See an example: +Second, you need to add your user to the `/etc/sudoers` file. See an example: -/etc/sudoers: +// FIXME: we need sudo for mount/linux32/umount currently, right? +// we could add --mount/--linux32/--umount options to emul32 to limit secholes + +---- krics ALL=(ALL) NOPASSWD: /usr/bin/emul32 +---- + +This way you won't be asked for a password when `emul32` runs itself as root. -This will cause if you run emul32 as user krics then inside emul32 sudo request -does not ask for your password. So when you type 'emul32 something' then you -wont be asked for password. +What else need to be done? When you want to use the `emul32-tools` then you +need to start `rc.emul32-tools`. You can set up that start automatically or you can +start it via hand like: service emul32-tools start (TODO!) -What else need to be done ? When you want to use the 32bitchroot stuff then you -need to START rc.emul32-tools. You can set up that start automatically or you can -start it via hand like: service 32bitchroot start (TODO!) +Once this is done, if you want to use for example `TeamSpeak`, then you have to: -Once this done and you want to use example TeamSpeak then you do a +---- +# repoman merge teamspeak +---- -repoman merge teamspeak then install the FPM with pacman-g2 then you can start -the app via 'emul32 teamspeak' or via the menu entry you find in your fav. WM. +then you can start +the application via +---- +$ emul32 teamspeak +---- -=== Footnotes :P +or via the menu entry you find in your favourite window manager. + + +=== Footnotes If you want to run or install something else what we not packaged, then you can -do that example: foobar.bin +do that example: `foobar.bin` -Copy foobar.bin to your user's Common directory on host (64bit) . +Copy `foobar.bin` to your user's Common directory on host (64bit) . Then start run it somehow like this: -emul32 /home/YOURUSERNAME/Common/foobar.bin +`emul32 /home/<username>/Common/foobar.bin` -Thats all. +That's all. - -If you got any problem or trouble ask help on IRC or in BTS +If you got any problem or trouble ask help on `IRC` or in `BTS`. Christian Hamar alias krix <[EMAIL PROTECTED]> + +// vim: ft=asciidoc _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
