From 210dbb37dd62ea46542465d18c2dc57faab07c2d Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Thu, 4 Feb 2016 14:40:11 +0100 Subject: [PATCH] MT#17675 Initial commit for ngcp-pxe-boot package * using Git LFS on GitHub for fs/* images/* huge files Change-Id: I7a0cf5d404abb0ac2e1c63c80195fd922d4fdf36 --- .gitattributes | 3 +++ .lfsconfig | 8 +++++++ README | 36 +++++++++++++++++++++++++++++ debian/changelog | 7 ++++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++ debian/copyright | 32 +++++++++++++++++++++++++ debian/ngcp-pxe-boot-fs.install | 1 + debian/ngcp-pxe-boot-images.install | 1 + debian/rules | 6 +++++ debian/source/format | 1 + fs/grml64-full/filesystem.module | 1 + fs/grml64-full/grml64-full.squashfs | 3 +++ images/initrd.img | 3 +++ images/vmlinuz | 3 +++ 15 files changed, 126 insertions(+) create mode 100644 .gitattributes create mode 100644 .lfsconfig create mode 100644 README create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/ngcp-pxe-boot-fs.install create mode 100644 debian/ngcp-pxe-boot-images.install create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 fs/grml64-full/filesystem.module create mode 100644 fs/grml64-full/grml64-full.squashfs create mode 100644 images/initrd.img create mode 100644 images/vmlinuz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..7aecc76 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +fs/grml64-full/grml64-full.squashfs filter=lfs diff=lfs merge=lfs -text +images/initrd.img filter=lfs diff=lfs merge=lfs -text +images/vmlinuz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000..72d8192 --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,8 @@ +[core] + repositoryformatversion = 0 +[lfs] + url = "https://github.com/sipwise/pxe-boot-images.git/info/lfs" +[remote "origin"] + url = https://github.com/sipwise/pxe-boot-images + fetch = +refs/heads/*:refs/remotes/origin/* + lfsurl = "https://github.com/sipwise/pxe-boot-images.git/info/lfs" diff --git a/README b/README new file mode 100644 index 0000000..4cf54a1 --- /dev/null +++ b/README @@ -0,0 +1,36 @@ +NOTE: The current git repository tracks huge files +using Git Large File Storage (LFS). + +Please download and install Git command line extension +'git-lfs' to checkout code properly. + +https://github.com/github/git-lfs/releases + +# dpkg -i git-lfs_1.1.0_amd64.deb +$ git lfs install + +In short: +huge files are stored on GitHub LFS directly +and checked out/updated automatically using git-lfs extension. +The repository itself contains references to big files only +(altogether with their checksum). + +# Adding new big files: + +git lfs track +git add +git lfs status + +``` +On branch vseva/17675 +Git LFS objects to be pushed to gerrit/master: + + fs/grml64-full/grml64-full.squashfs (378.6 MB) + images/initrd.img (17.1 MB) + images/vmlinuz (2.9 MB) + +Git LFS objects to be committed: + + +Git LFS objects not staged for commit: +``` diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3a5c773 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +ngcp-pxe-boot (0.1.0.0+0~grml20140303) unstable; urgency=medium + + [ Alexander Lutay ] + * [1e16654] MT#17675 Add .gitreview to pxe-boot-images + * Init + + -- Alexander Lutay Thu, 04 Feb 2016 14:29:20 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4526510 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: ngcp-pxe-boot +Section: net +Priority: extra +Maintainer: Sipwise Development Team +Build-Depends: debhelper (>= 9~) +Standards-Version: 3.9.7 +Homepage: https://sipwise.com/ + +Package: ngcp-pxe-boot-images +Architecture: all +Depends: pxelinux, + ${misc:Depends} +Description: PXE boot files for PRO/Carrier bootstrap + PXE boot files to bootstrap PRO/Carrier (mainly Grml files). + +Package: ngcp-pxe-boot-fs +Architecture: all +Depends: ${misc:Depends} +Description: filesystem files for PRO/Carrier bootstrap + filesystem files to bootstrap PRO/Carrier (mainly Grml files). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..cd942c8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://www.sipwise.com/ +Upstream-Contact: Sipwise Development Team + +Files: debian/* +Copyright: 2016 Sipwise GmbH, Austria +License: GPL-2 + +Files: images/initrd.img images/vmlinuz +Copyright: 1991-2012 Linus Torvalds and many others +License: GPL-2 + +Files: fs/grml64-full/* +Copyright: Michael Prokop +License: miscellaneous, see http://grml.org/ + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + . + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +Comment: + On Debian systems, the complete text of the GNU General Public License version + 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/debian/ngcp-pxe-boot-fs.install b/debian/ngcp-pxe-boot-fs.install new file mode 100644 index 0000000..77a8f40 --- /dev/null +++ b/debian/ngcp-pxe-boot-fs.install @@ -0,0 +1 @@ +fs/* var/lib/ngcp-pxe-boot-images/fs/ diff --git a/debian/ngcp-pxe-boot-images.install b/debian/ngcp-pxe-boot-images.install new file mode 100644 index 0000000..b2ef495 --- /dev/null +++ b/debian/ngcp-pxe-boot-images.install @@ -0,0 +1 @@ +images/* var/lib/ngcp-pxe-boot-images/images/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bf8327f --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/fs/grml64-full/filesystem.module b/fs/grml64-full/filesystem.module new file mode 100644 index 0000000..de99788 --- /dev/null +++ b/fs/grml64-full/filesystem.module @@ -0,0 +1 @@ +grml64-full.squashfs diff --git a/fs/grml64-full/grml64-full.squashfs b/fs/grml64-full/grml64-full.squashfs new file mode 100644 index 0000000..97a3766 --- /dev/null +++ b/fs/grml64-full/grml64-full.squashfs @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52389e53dfde0993acaff972a5cbb230988506b6931c542435f17f51a4339d5f +size 397017088 diff --git a/images/initrd.img b/images/initrd.img new file mode 100644 index 0000000..ed27af7 --- /dev/null +++ b/images/initrd.img @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0601961745ad93616ba267287fd490dda1fb5dd88840493a03a104aa90d027f5 +size 17964860 diff --git a/images/vmlinuz b/images/vmlinuz new file mode 100644 index 0000000..f93b897 --- /dev/null +++ b/images/vmlinuz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a5917b6827cec979fde4a0f0b05a391bd01f22ded91b29464c26fd6e5095b84 +size 3014336