From 1b018ec55b2007297768141458d6c89e684ba535 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 22 May 2017 13:12:05 +0200 Subject: [PATCH 052/325] release/amd64/make-memstick.sh: Specify makefs debug flags which may or may not help Obtained from: ElectroBSD --- release/amd64/make-memstick.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/release/amd64/make-memstick.sh b/release/amd64/make-memstick.sh index af3e5003bf76..c28521e9cbeb 100755 --- a/release/amd64/make-memstick.sh +++ b/release/amd64/make-memstick.sh @@ -39,12 +39,19 @@ echo 'root_rw_mount="NO"' > ${1}/etc/rc.conf.local mtree -c -k time -p "${1}" | mtree -C -k all | sed \ -e "s@time=.*@time=${EPOCH_DATE-0}.000000000 uname=root gname=wheel@" \ > "${2}.mtree" || return 1 + +#define DEBUG_FS_MAKEFS 0x00000400 +#define DEBUG_FS_CREATE_IMAGE 0x00001000 +#define DEBUG_FS_WRITE_FILE 0x00080000 +MAKEFS_DEBUG_FLAGS=0x81400 + # The base makefs may not have -T support yet, # thus we use the fresh one that goes into the image. # # Bind makefs to a single cpu as the output is core dependant # (XXX: doesn't seem to have the intended effect) cpuset -l 0 dist/base/usr/sbin/makefs -T "${EPOCH_DATE-0}" \ + -d "${MAKEFS_DEBUG_FLAGS}" \ -B little -o label="${VOLUME_LABEL}" -o version=2 -F "${2}.mtree" ${2}.part ${1} rm ${1}/etc/fstab rm ${1}/etc/rc.conf.local -- 2.32.0