Installation de l'environnement de développement de YunoRock
Go to file
2018-08-04 23:33:41 +02:00
.gitignore Use .gitlab-ci.yml to test chroot build 2018-08-04 20:28:03 +02:00
.gitlab-ci.yml FIX - Force Alpine directory creation in case we're in Gitlab CI 2018-08-04 23:12:01 +02:00
build fix #1 - Configure APK with pkg++ used repository 2018-08-04 17:54:33 +02:00
install-and-chroot.sh Another gitlab CI test 2018-08-04 23:33:41 +02:00
pkgxx.conf.example FIX - wrong directory for pkg++ configuration file. Change pkgxx.conf.example 2018-08-04 17:52:16 +02:00
README.md Change variable to something more readable and more short 2018-08-02 17:08:41 +02:00

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