Merge pull request 'version-in-filename' (#29) from version-in-filename into main

Reviewed-on: #29
pull/30/head 3.14.1
Natalia Serrano 2025-09-24 11:10:03 +02:00
commit 7f93acd6d1
4 changed files with 18 additions and 5 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.14.1] - 2025-09-24
### Fixed
- Fix jenkins build with REUSE_PREV_FS=true
## [3.14.0] - 2025-08-14 ## [3.14.0] - 2025-08-14
### Added ### Added

4
Jenkinsfile vendored
View File

@ -112,8 +112,8 @@ else
ls -la ogclient/ || true ls -la ogclient/ || true
fi fi
mkdir -p ogclient ## run this as user; otherwise docker may create it as root mkdir -p ogclient ## run this as user; otherwise docker may create it as root
if [[ "zuser" != "z$(stat --format %U ogclient)" ]]; then if [[ "zjenkins" != "z$(stat --format %U ogclient)" ]]; then
echo "warning: directory 'ogclient' not owned by user 'user'" echo "warning: directory 'ogclient' not owned by user 'jenkins'"
fi fi
docker run --rm --name mkoglive --privileged=true \ docker run --rm --name mkoglive --privileged=true \

View File

@ -1 +1 @@
OpenGnsys Client 3.14.0 OpenGnsys Client 3.14.1

View File

@ -1,10 +1,17 @@
[IMGogclient] [IMGogclient]
type=loopback type=loopback
file=/var/lib/tftpboot/ogclient/ogclient.img file=/var/lib/tftpboot/ogclient/ogclient.img
mount-options=-o offset=32256
description=ogclient Ubuntu image description=ogclient Ubuntu image
#priority=1
users=root users=root
groups=root groups=root
root-groups=root root-groups=root
mount-options=-o offset=32256
root-users=root root-users=root
## man 5 schroot.conf
## "In addition to the configuration keys listed above, it is possible to add custom keys. These keys will be used to add additional environment variables to the setup script environment when setup scripts are run"
## We need this because in chroot-tasks.py setup_resolvconf2() we create a symlink /etc/resolv.conf -> /run/resolvconf/resolv.conf
## On the second run of the jenkins job, with REUSE_PREV_FS = true, schroot tries to copy /etc/resolv.conf but it now points to a non-existent file, making schroot fail
## With this line, we tell schroot not to copy any files to the chroot
setup.copyfiles=