Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script to prepare image build environment #3

Open
12 tasks
felixcremer opened this issue Jan 8, 2018 · 0 comments
Open
12 tasks

Script to prepare image build environment #3

felixcremer opened this issue Jan 8, 2018 · 0 comments

Comments

@felixcremer
Copy link
Member

felixcremer commented Jan 8, 2018

Add a script to setup the build environment, i.e. installing packages required for building the image and the installer.

Features of the script:

  • install packages for live build:
    • live-build
      - build external packages:
    • ASF MapReady
    • Oracle JDK (at least i386)
    • PolSAR Pro
    • SNAP i386 version
      - [ ] download SNAP installer
      - [ ] place package files in sarbian-xfce/config/packages.chroot
      - [ ] place SNAP and OST installer in sarbian-xfce/config/includes.chroot/usr/local/bin

The script must be able handle situations in which any part of the result is already fulfilled.

The script will need some options to control how much of the build preparation should be rerun and what should be included/excluded.

  • clean-all:
    • remove installers from includes.chroot
    • remove packages from packages.chroot
    • remove build, cache, pkg directories
    • rerun all package-* and download-* scripts

Currently, most download functionality is able to work with the local cache folder. This needs to be extended to pkg dir.

Also, the cleanup script should be more fine-grained.

  • Each task script should be able to:

    • see, if software is built and in build tree: do nothing
    • option clean: clean build tree for this software, build software new, but do not redownload, use local cache (if possible)
    • option clean-cache: build software new and redownload (ignore/delete cache)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant