Linux-SWAT
Forum Addict!
- Joined
- Feb 13, 2010
- Messages
- 9,304
Debian picked systemd...keep to the safe side : aka do like debian does.
Debian picked systemd...keep to the safe side : aka do like debian does.
diff original.install.sh install.sh
357c357
< chroot.cmd() {
---
> chroot.setup() {
362c362,363
< out.cmd chroot $DEST/rootfs "$@"
---
> }
> chroot.out() {
366a368,376
> chroot.cmd() {
> chroot.setup
> out.cmd chroot $DEST/rootfs "$@"
> chroot.out
> }
> chroot.in() {
> chroot.setup
> out.cmd chroot $DEST/rootfs
> }
497a508,509
> args.option ACTION chroot.in "Get into a chroot environment"
> args.option ACTION chroot.out "Get out of a chroot environment"
The script is meant to be used as a script, not as a toolbox. leave it as it is. If you want to mess with the chroot, then just :unfortunately, doing this buffers the text input oddly -- i don't know if i'm executing the correct command until i press enter. i imagine there's something i can do to fix this?
sudo chroot $PYRA_ROOTFS
sudo $TOOLCHAIN_ROOT/install.sh rootfs.fix
