Opened 6 years ago

Closed 3 years ago

#1046 closed enhancement (fixed)

Automatic/Daily builds for OSGeoLive

Reported by: kalxas Owned by: kalxas
Priority: major Milestone: OSGeoLive10.0
Component: OSGeoLive Keywords: QA
Cc: live-demo@…


Having completed the new build system for OSGeoLive 6.0 ( and we are now in a position to create a simple cron job to make automatic builds. This can be assigned to a base Xubuntu VM as described in

A last issue that we need to tackle is that after each build the base VM needs a reboot to correctly unmount the /dev folder. This problem is discussed here: with a possible fix included.

Change history (8)

comment:1 Changed 6 years ago by kalxas

Status: newassigned

Closed #778 as duplicate

comment:2 Changed 6 years ago by kalxas

Possible fix from mailing list committed in [9529] but unfortunately did not work as seen in

Any ideas?

comment:3 in reply to:  2 Changed 6 years ago by hamish

Replying to kalxas:

but unfortunately did not work as seen in

Any ideas?

Finished chroot part
umount: /home/user/livecdtmp/edit/proc: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

maybe follow the advice and put a lsof &/or fuser in the build script to see what it does?

where is the script run from? if the pwd is in the tmp dir, is it still attached even if you 'cd ..' out of it within the script?


comment:4 Changed 6 years ago by kalxas

Hi Hamish,

The script is executed from /livecdtmp which is top level directory. I will double check.


comment:5 Changed 6 years ago by kalxas

Milestone: OSGeoLive7.0Unplanned

not enough time to tackle now.

comment:6 Changed 3 years ago by kalxas

Good news, the error message after the chroot part is no longer there in Xenial, which means that the build process does not teardown the build host anymore (which required a manual reboot until now).

I have prepared a small bash script to trigger a git pull, an iso build, log post-processing and finally an automated upload of the resulting files to a remote server, and it worked flawlessly, leaving the build host in a perfect state.

I think the best way forward would be to replace the existing script with a which will automate the whole build process. (Actually the will remain and still be used internally)

What is now missing is some git magic to figure out when a cron-job should trigger a build. After that we can have a completely automated build process.

I also think this is a good time to re-organize the installers. We had some discussion with Brian some months ago, we should discuss this during a project meeting.

comment:7 Changed 3 years ago by kalxas

Milestone: UnplannedOSGeoLive10.0

comment:8 Changed 3 years ago by kalxas

Resolution: fixed
Status: assignedclosed

The chroot problem has been finally fixed with this commit:

Build process is now fully automated.

Note: See TracTickets for help on using tickets.