Commit 0759e089 authored by Marco Marinello's avatar Marco Marinello

Configure packaging

Signed-off-by: Marco Marinello's avatarMarco Marinello <mmarinello@sezf.it>
parent 54e9dbb7
Pipeline #25 failed with stages
in 8 minutes and 56 seconds
clientScripts/new_root_pw
README.pdf
README.txt
vmlinuz
initrd.img
filesystem.squashfs
Clonezilla-Live-Version
live/squashfs-root
clonezilla_live.pub
id_rsa
id_rsa.pub
debian/fuss-fucc
debian/.debhelper/
debian/debhelper-build-stamp
debian/files
debian/fuss-fucc.debhelper.log
debian/fuss-fucc.substvars
......@@ -8,6 +8,7 @@ before_script:
# Defines stages which are to be executed
stages:
- clonezilla
- packaging
# Stage "build"
rebuild-squashfs:
......@@ -25,3 +26,36 @@ rebuild-squashfs:
- live/filesystem.squashfs
- live/initrd.img
- live/vmlinuz
build-jessie:
image: debian:jessie
stage: packaging
script:
- apt-get update -qy
- apt-get install -y build-essential debhelper libncurses5-dev libglib2.0-dev libgeoip-dev libtokyocabinet-dev zlib1g-dev libncursesw5-dev libbz2-dev pandoc
- debian/rules debsrc
- mkdir dist
- cp ../* dist || true
# The files which are to be made available in GitLab
artifacts:
paths:
- dist
build-buster:
image: debian:buster
stage: packaging
script:
- apt-get update -qy
- apt-get install -y build-essential debhelper libncurses5-dev libglib2.0-dev libgeoip-dev libtokyocabinet-dev zlib1g-dev libncursesw5-dev libbz2-dev pandoc
- debian/rules debsrc
- mkdir dist
- cp ../* dist || true
# The files which are to be made available in GitLab
artifacts:
paths:
- dist
......@@ -2,10 +2,10 @@ CLONEZILLA_SOURCE="https://vorboss.dl.sourceforge.net/project/clonezilla/clonezi
CLONEZILLA_SAVE_TO="../clonezilla-orig.zip"
all: rebuild-squashfs
all:
clean:
full-clean:
rm -f ${CLONEZILLA_SAVE_TO}
rm -rf live
......
fuss-fucc (0.1) unstable; urgency=medium
* Initial Release.
-- Marco Marinello <mmarinello@fuss.bz.it> Sun, 11 Aug 2019 12:29:21 +0200
/srv/clonezilla/computerList.txt
Source: fuss-fucc
Section: admin
Priority: optional
Maintainer: Marco Marinello <mmarinello@fuss.bz.it>
Build-Depends: debhelper (>= 11), pandoc
Standards-Version: 4.1.3
Homepage: https://gitlab.fuss.bz.it/fuss/fucc
Vcs-Browser: https://gitlab.fuss.bz.it/fuss/fucc
Vcs-Git: https://gitlab.fuss.bz.it/fuss/fucc.git
Package: fuss-fucc
Architecture: all
Replaces: clonezilla-pxe
Breaks: clonezilla-pxe
Depends: ${misc:Depends}
Description: The FUSS Fully Unattended Clonezilla Cloning
This package installs and configures the FUCC system.
Files: *
Copyright: 2019 Donato Florio <Donato.Florio@scuola.alto-adige.it>
2019 Paolo Dongilli <Paolo.Dongilli@scuola.alto-adige.it>
2019 Marco Marinello <mmarinello@fuss.bz.it>
License: GPL-3.0+
Files: debian/*
Copyright: 2019 Marco Marinello <mmarinello@fuss.bz.it>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
clonezilla/computerList.txt /srv/clonezilla
clonezilla/script /srv/clonezilla
clonezilla/clientScripts /srv/clonezilla
tftp/default /srv/tftp/pxelinux.cfg
live /srv/tftp/clonezilla
utils/clonezilla_live.pub /usr/share/fuss-fucc
utils/gen-computerList.sh /usr/share/fuss-fucc
utils/gen-root-changepassword.sh /usr/share/fuss-fucc
README.md /usr/share/fuss-fucc
README.pdf /usr/share/fuss-fucc
README.txt /usr/share/fuss-fucc
AUTHORS /usr/share/fuss-fucc
LICENSE /usr/share/fuss-fucc
#!/bin/bash
rm -rf /srv/tftp/pxelinux.cfg/default /srv/tftp/clonezilla
#!/usr/bin/make -f
%: prepare_build
dh $@
prepare_build:
pandoc -o README.txt README.md
pandoc -o README.pdf README.md
rm -rf ./live/squashfs-root
override_dh_fixperms:
dh_fixperms
chmod +x debian/fuss-fucc/srv/clonezilla/script
chmod +x debian/fuss-fucc/srv/clonezilla/clientScripts/clientScript
chmod +x debian/fuss-fucc/srv/clonezilla/clientScripts/rc.local
chmod +x debian/fuss-fucc/usr/share/fuss-fucc/*.sh
debsrc: prepare_build
debuild -us -uc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment