Git Product home page Git Product logo

debian-preseed's People

Contributors

gashev avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

debian-preseed's Issues

bin/exec.sh: line 26: /tmp/[...]/cd/install.amd/initrd.gz: No such file or directory

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

File system

.
├── bin
│   └── exec.sh
├── conf
│   ├── isolinux.cfg
│   └── preseed.cfg
├── images
│   └── ubuntu-16.04.2-server-amd64.iso
├── license.txt
└── README.txt

Environment

  • 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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.