summaryrefslogtreecommitdiffstats
path: root/tools/mkhdlist
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-18 10:29:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-18 10:29:06 +0000
commit62534ab752978a3ab327d8288ba13d00b572b331 (patch)
treef7d7984a70aa36a345eec66ac1107f0fad6f1bc3 /tools/mkhdlist
parent645ab08d071c4e55285b24621fa48faa180eb650 (diff)
downloaddrakx-backup-do-not-use-62534ab752978a3ab327d8288ba13d00b572b331.tar
drakx-backup-do-not-use-62534ab752978a3ab327d8288ba13d00b572b331.tar.gz
drakx-backup-do-not-use-62534ab752978a3ab327d8288ba13d00b572b331.tar.bz2
drakx-backup-do-not-use-62534ab752978a3ab327d8288ba13d00b572b331.tar.xz
drakx-backup-do-not-use-62534ab752978a3ab327d8288ba13d00b572b331.zip
no_comment
Diffstat (limited to 'tools/mkhdlist')
-rwxr-xr-xtools/mkhdlist16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/mkhdlist b/tools/mkhdlist
new file mode 100755
index 000000000..6ef783ca1
--- /dev/null
+++ b/tools/mkhdlist
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Regenerate hdlist, root_directory should be the binary
+# root_directory where you find generally this structure :
+#
+# COPYING Mandrake/ RPM-GPG-KEYS VERSION dosutils/ images/ lnx4win/
+# misc/
+
+if [ -z "$1" ];then
+ echo "Usage: $(basename $0) /path/to/root_directory/"
+ exit 1
+fi
+
+cd $1
+rm -rf /tmp/.build_hdlist/
+./misc/genhdlist_cz2 --noclean --distrib .
+./misc/gendepslist2 -o Mandrake/base/depslist Mandrake/base/hdlist.cz2