Installation de l'environnement de développement de YunoRock
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Olivier DOSSMANN d2c9b68679 Simplify APK repository modification by using alpine-chroot-install params 11 months ago
.gitignore Use .gitlab-ci.yml to test chroot build 11 months ago
.gitlab-ci.yml Where am I in chroot? 11 months ago
README.md Change variable to something more readable and more short 11 months ago
build Simplify APK repository modification by using alpine-chroot-install params 11 months ago
install-and-chroot.sh Simplify APK repository modification by using alpine-chroot-install params 11 months ago
pkgxx.conf.example Complete .builder variable in pkgxx.conf 11 months ago

README.md

yunorock-dev

In order to have an entire YunoRock development environment, I created a script that install an Alpine chroot, configure and enter it.

Usage

Launch it, and start testing!

chmod +x ./install-and-chroot.sh
./install-and-chroot.sh

By default it writes files into /alpine. So enter into chroot:

/alpine/enter-chroot

But you can change destination directory if needed:

chmod +x ./install-and-chroot.sh
DIRPATH="/my_alpine_chroot" ./install-and-chroot.sh

and then:

/my_alpine_chroot/enter-chroot

Pay attention: DIRPATH should be an absolute path.

TODO

  • adapt script to install yunoconfig dependencies (alpine-chroot-install -p)
  • git submodule with yunoconfig (and bind it into the chroot?)
  • idem with yunorock-recipes
  • idem with pkgxx