gashev / debian-preseed Goto Github PK
View Code? Open in Web Editor NEWModify an existing CD image to preseed d-i.
License: Other
Modify an existing CD image to preseed d-i.
License: Other
Hi there, good script idea! I am trying to use it running bin/exec.sh images/ubuntu-16.04.2-server-amd64.iso images/ubuntu-16.04.2-server-amd64.preseeded.iso
, but this is what I get:
+ '[' 2 '!=' 2 ']'
+ ISO=images/ubuntu-16.04.2-server-amd64.iso
+ OUTPUT=images/ubuntu-16.04.2-server-amd64.preseeded.iso
+++ dirname bin/exec.sh
++ readlink -f bin/../
+ APP_FOLDER=/home/hadrien-toma/dev/debian-preseed
++ mktemp -d
+ TEMP_FOLDER=/tmp/tmp.spFvDM7nZy
+ MOUNT_FOLDER=/tmp/tmp.spFvDM7nZy/loopdir/
+ INITRD_EXTRACT_FOLDER=/tmp/tmp.spFvDM7nZy/initrd/
+ mkdir /tmp/tmp.spFvDM7nZy/loopdir/
+ sudo mount -o loop images/ubuntu-16.04.2-server-amd64.iso /tmp/tmp.spFvDM7nZy/loopdir/
[sudo] password for hadrien-toma:
mount: /dev/loop0 is write-protected, mounting read-only
+ mkdir /tmp/tmp.spFvDM7nZy/cd
+ rsync -a -H --exclude=TRANS.TBL /tmp/tmp.spFvDM7nZy/loopdir/ /tmp/tmp.spFvDM7nZy/cd
+ sudo umount /tmp/tmp.spFvDM7nZy/loopdir/
+ mkdir /tmp/tmp.spFvDM7nZy/initrd/
+ cd /tmp/tmp.spFvDM7nZy/initrd/
+ gzip -d
bin/exec.sh: line 26: /tmp/tmp.spFvDM7nZy/cd/install.amd/initrd.gz: No such file or directory
+ sudo cpio --extract --verbose --make-directories --no-absolute-filenames
cpio: premature end of archive
.
├── bin
│ └── exec.sh
├── conf
│ ├── isolinux.cfg
│ └── preseed.cfg
├── images
│ └── ubuntu-16.04.2-server-amd64.iso
├── license.txt
└── README.txt
gzip --version
:gzip 1.6
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Jean-loup Gailly.
cat /etc/lsb-release
:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
uname -srvio
:Linux 4.8.0-56-generic #61~16.04.1-Ubuntu SMP Wed Jun 14 11:58:22 UTC 2017 x86_64 GNU/Linux
Maybe you have an idea of what am I doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.