aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-18 12:48:46 +0300
committerCem Keylan <cem@ckyln.com>2020-05-18 12:48:46 +0300
commit95c37dcd8f9f5be9fd8dfd7ab185dfeb8e884923 (patch)
tree72ede8fb69c4f66b0e1ac5f1b94fb32836634d9d
parentaad4ca3b0f8a94a827200ef19f3bc57d2c2e8369 (diff)
downloadmkrootfs-95c37dcd8f9f5be9fd8dfd7ab185dfeb8e884923.tar.gz
config: set default MNTDIR to the current working directory
-rw-r--r--.gitignore1
-rw-r--r--config.def2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index b13da22..8549cb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
config
+rootfs
*.tar.xz
diff --git a/config.def b/config.def
index adfe3a5..9957ae2 100644
--- a/config.def
+++ b/config.def
@@ -4,7 +4,7 @@
# Root directory
# This is where the rootfs will be installed.
-MNTDIR="/mnt"
+MNTDIR="$PWD/rootfs"
# List of packages to be installed
# Most of those are already dependencies