Skip to content
Snippets Groups Projects
Commit d838db5c authored by Martin Bellgardt's avatar Martin Bellgardt
Browse files

Merge branch 'master' of www.fsmpi.rwth-aachen.de:lip

parents 347cf3b5 7dbacfa5
No related branches found
No related tags found
No related merge requests found
Showing
with 18 additions and 0 deletions
...@@ -3,6 +3,7 @@ SCRIPT_DIR=`dirname "$0"` ...@@ -3,6 +3,7 @@ SCRIPT_DIR=`dirname "$0"`
REMASTER_HOME=${1:-~/tmp} REMASTER_HOME=${1:-~/tmp}
ISO_REMASTER_DIR="$REMASTER_HOME/remaster-iso" ISO_REMASTER_DIR="$REMASTER_HOME/remaster-iso"
REMASTER_DIR="$REMASTER_HOME/remaster-root" REMASTER_DIR="$REMASTER_HOME/remaster-root"
ISO_DESCRIPTION_PREFIX_FILE="$SCRIPT_DIR/iso_description_prefix"
if [ -e "$SCRIPT_DIR/customize_common" ]; then if [ -e "$SCRIPT_DIR/customize_common" ]; then
source "$SCRIPT_DIR/customize_common" source "$SCRIPT_DIR/customize_common"
...@@ -15,6 +16,22 @@ function create_md5sums() ...@@ -15,6 +16,22 @@ function create_md5sums()
popd popd
} }
function write_iso_description()
{
ISO_ARCH="32Bit"
if [ "$(uname -m)" == "x86_64" ]; then
ISO_ARCH="64Bit"
fi
ISO_PREFIX="LIP ISO"
if [ -e "$ISO_DESCRIPTION_PREFIX_FILE" ]; then
ISO_PREFIX="$(cat $ISO_DESCRIPTION_PREFIX_FILE)"
fi
echo "$ISO_PREFIX $ISO_ARCH" > "$SCRIPT_DIR/iso_description"
}
#create_md5sums #create_md5sums
write_iso_description
patch_all "$SCRIPT_DIR/iso-patches/" "$ISO_REMASTER_DIR/" patch_all "$SCRIPT_DIR/iso-patches/" "$ISO_REMASTER_DIR/"
LIP SS14
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment