From 8208db493b6e464ac84329c9c21230a17952b5bf Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 22 May 2017 13:12:05 +0200 Subject: [PATCH 047/310] 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 32ee9eea7ec2..ca8259a10354 100755 --- a/release/amd64/make-memstick.sh +++ b/release/amd64/make-memstick.sh @@ -42,12 +42,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.37.1