pre-manifest.sh 442 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
#!/bin/bash

_DIST=$1
export PREFIX=$PWD
source ${PREFIX}/conf/$_DIST/create-iso.conf
source common.sh

#mount casper dir on chroot for generating the manifest file
mkdir -p ${CHROOTDIR}/casper/
Daniel Bissani Furlin's avatar
Daniel Bissani Furlin committed
10
mount --bind ${TMP}image/casper ${CHROOTDIR}/casper || \
11
log ERROR "While mounting ${TMP}image/casper on ${CHROOTDIR}casper"
12
13
14
15

addToChrootFile $CHROOTFILE "dpkg-query -W --showformat='${Package} ${Version}\n' > /casper/filesystem.manifest"

exit 0