:: [DNG] .iso images label
Pàgina inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
A: hellekin, Jim Murphy, Dng
Assumpte: [DNG] .iso images label


On 05/03/2016 03:15 PM, hellekin <hellekin@???> wrote:
> On 04/29/2016 05:36 PM, Jim Murphy wrote:
>> >Minor but it would be nice to see Devuan and not Debian
>> >as the label.
>> >
>> >[snip]
>> >
>> >Would someone check and correct before the next release?
>> >
> Follow up to
> https://git.devuan.org/devuan-packages/debian-installer/issues/52
>
> ==
> hk


I use the following script:



#!/bin/sh

WORKDIR="$HOME"
ISOTMP="DEVUAN"

CREATEISO="`which mkisofs`"
if [ "$CREATEISO" = "" ]; then
CREATEISO="`which genisoimage`"
fi

LIVECDLABEL="unofficial Devuan 1.0 Alpha2"
CUSTOMISO="unofficial-Devuan-1.0-Alpha2_amd64.iso"

find $WORKDIR/$ISOTMP -xdev -type f -print0 | xargs -0 md5sum > md5sums
$CREATEISO    \
  -quiet \
  -r    \
  -V "$LIVECDLABEL"    \
  -cache-inodes    \
  -J    \
  -l    \
  -b isolinux/isolinux.bin    \
  -c isolinux/boot.cat    \
  -no-emul-boot    \
  -boot-load-size 4    \
  -boot-info-table    \
  -o $WORKDIR/$CUSTOMISO "$WORKDIR/$ISOTMP"


isohybrid $WORKDIR/$CUSTOMISO
md5sum $WORKDIR/$CUSTOMISO > $WORKDIR/$CUSTOMISO.md5

####### END OF THE SCRIPT #####




Supposing the content of the iso located in $HOME/DEVUAN.
The label of the stick is $LABELCDLABEL

Cheers,

Aitor.