platform/upstream/dracut.git
13 years agokernel-modules: inst modules.builtin if there's no modules.builtin.bin
Amadeusz Żołnowski [Fri, 22 Apr 2011 15:43:11 +0000 (17:43 +0200)]
kernel-modules: inst modules.builtin if there's no modules.builtin.bin

Also report failure if none of them exist.

13 years agomodules.d/99base/init: missing slash in ismounted check
Michal Soltys [Sat, 23 Apr 2011 22:22:51 +0000 (00:22 +0200)]
modules.d/99base/init: missing slash in ismounted check

ismounted sys -> ismounted /sys

Signed-off-by: Michal Soltys <soltys@ziu.info>
13 years agobase, crypt: install umount, because it is used
Harald Hoyer [Wed, 20 Apr 2011 14:51:39 +0000 (16:51 +0200)]
base, crypt: install umount, because it is used

13 years agodracut: make prefix configurable
Harald Hoyer [Wed, 20 Apr 2011 14:47:40 +0000 (16:47 +0200)]
dracut: make prefix configurable

13 years agotest/TEST-11-LVM, test/TEST-14-IMSM: update test cases
Harald Hoyer [Thu, 14 Apr 2011 13:24:50 +0000 (15:24 +0200)]
test/TEST-11-LVM, test/TEST-14-IMSM: update test cases

- more diskspace
- add /run
- drop to shell in test-init

13 years agobase/init: export RD_TIMESTAMP
Harald Hoyer [Thu, 14 Apr 2011 13:23:05 +0000 (15:23 +0200)]
base/init: export RD_TIMESTAMP

13 years agoinc version
Harald Hoyer [Thu, 14 Apr 2011 10:03:24 +0000 (12:03 +0200)]
inc version

13 years agobase/init: use "udevadm control --exit" and "udevadm info --cleanup-db"
Harald Hoyer [Thu, 14 Apr 2011 10:00:11 +0000 (12:00 +0200)]
base/init: use "udevadm control --exit" and "udevadm info --cleanup-db"

For udev >= 168 use the advanced udevadm features for shutting down udev.

Thanks Kay!!!

13 years agoMove all files to /run/initramfs
Harald Hoyer [Mon, 11 Apr 2011 15:19:41 +0000 (17:19 +0200)]
Move all files to /run/initramfs

Given that we boot into a modern Linux distribution with the "/run" toplevel
directory, we can easily mount move the whole /run directory to the real
root in the end and have the complete initramfs later on in
/run/initramfs. All log files and /run states are still accessible and
to save space /run/initramfs can be removed later on.

Because the kernel does not mount a tmpfs on /run prior to unpacking the
initramfs cpio image, we have to copy ourselves very early to a tmpfs
and mount it on /run.
Due to lazy umount the old initramfs binaries should
be removed in the end by switch_root.

This feature can be turned on with "--prefix".

13 years agobase: s#initlog#loginit#g for consistency
Harald Hoyer [Tue, 12 Apr 2011 09:03:57 +0000 (11:03 +0200)]
base: s#initlog#loginit#g for consistency

13 years agoset udev property hookdir
Harald Hoyer [Tue, 12 Apr 2011 06:43:10 +0000 (08:43 +0200)]
set udev property hookdir

Revert "mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/"

This reverts commit e1f68dc6a0c987e27b992d393c1d3e54ca0783a8.

13 years agobase/init: removed rd.copystate
Harald Hoyer [Tue, 12 Apr 2011 06:31:26 +0000 (08:31 +0200)]
base/init: removed rd.copystate

all files are available in /run/initramfs

13 years agobase/init: removed rd.timestamp and automatically export RD_*
Harald Hoyer [Tue, 12 Apr 2011 06:29:14 +0000 (08:29 +0200)]
base/init: removed rd.timestamp and automatically export RD_*

13 years agomdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/
Harald Hoyer [Mon, 11 Apr 2011 17:22:46 +0000 (19:22 +0200)]
mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/

13 years agoTEST-50-MULTINIC/client-init: drop to shell, if "rd.shell"
Harald Hoyer [Mon, 11 Apr 2011 15:19:16 +0000 (17:19 +0200)]
TEST-50-MULTINIC/client-init: drop to shell, if "rd.shell"

13 years agoTEST-50-MULTINIC/test.sh: add /run dir and "ls" to client image
Harald Hoyer [Mon, 11 Apr 2011 15:18:52 +0000 (17:18 +0200)]
TEST-50-MULTINIC/test.sh: add /run dir and "ls" to client image

13 years agodracut: do not install ld.so.conf* for kernel-only
Harald Hoyer [Mon, 11 Apr 2011 12:38:31 +0000 (14:38 +0200)]
dracut: do not install ld.so.conf* for kernel-only

13 years agobase/init: set DRACUT_QUIET based on "loglevel" and "quiet"
Harald Hoyer [Mon, 11 Apr 2011 11:59:03 +0000 (13:59 +0200)]
base/init: set DRACUT_QUIET based on "loglevel" and "quiet"

13 years agobase/init: set PATH like new kernels do
Harald Hoyer [Mon, 11 Apr 2011 11:58:33 +0000 (13:58 +0200)]
base/init: set PATH like new kernels do

13 years agoiscsi/mount-lun.sh: use NEWROOT
Harald Hoyer [Mon, 11 Apr 2011 11:35:27 +0000 (13:35 +0200)]
iscsi/mount-lun.sh: use NEWROOT

13 years agocrypt/cryptroot-ask.sh: check and use NEWROOT
Harald Hoyer [Mon, 11 Apr 2011 11:34:58 +0000 (13:34 +0200)]
crypt/cryptroot-ask.sh: check and use NEWROOT

13 years agobase/dracut-lib.sh: add ismounted()
Harald Hoyer [Mon, 11 Apr 2011 11:34:34 +0000 (13:34 +0200)]
base/dracut-lib.sh: add ismounted()

13 years agobase/dracut-lib.sh: turn on PS4 for bash debugging
Harald Hoyer [Mon, 11 Apr 2011 11:34:06 +0000 (13:34 +0200)]
base/dracut-lib.sh: turn on PS4 for bash debugging

13 years agologinit: create pid and kill loginit by pid
Harald Hoyer [Mon, 11 Apr 2011 11:17:24 +0000 (13:17 +0200)]
loginit: create pid and kill loginit by pid

13 years agoremoved switch_root.c
Harald Hoyer [Mon, 11 Apr 2011 11:11:18 +0000 (13:11 +0200)]
removed switch_root.c

13 years agoprecreate /run/udev/rules.d
Harald Hoyer [Thu, 7 Apr 2011 09:11:48 +0000 (11:11 +0200)]
precreate /run/udev/rules.d

13 years agocrypt/parse-crypt.sh: fixed rule creation
Harald Hoyer [Thu, 7 Apr 2011 12:59:08 +0000 (14:59 +0200)]
crypt/parse-crypt.sh: fixed rule creation

"\n" was missing
create rules file on tmp file and rename it later

13 years agoget rid of absolute PATHs
Harald Hoyer [Thu, 7 Apr 2011 09:10:03 +0000 (11:10 +0200)]
get rid of absolute PATHs

13 years agobase/init: fixed "unset" of vars
Harald Hoyer [Thu, 7 Apr 2011 10:58:02 +0000 (12:58 +0200)]
base/init: fixed "unset" of vars

13 years agobase/dracut-lib.sh:incol2() return 1 on error
Harald Hoyer [Thu, 7 Apr 2011 10:56:09 +0000 (12:56 +0200)]
base/dracut-lib.sh:incol2() return 1 on error

13 years agoinit: s/RDDEBUG/RD_DEBUG/g
Harald Hoyer [Thu, 7 Apr 2011 09:16:01 +0000 (11:16 +0200)]
init: s/RDDEBUG/RD_DEBUG/g

13 years agoinit: move /.die to /run/initramfs/.die
Harald Hoyer [Thu, 7 Apr 2011 09:12:50 +0000 (11:12 +0200)]
init: move /.die to /run/initramfs/.die

13 years agoinitqueue: add "--finished"
Harald Hoyer [Thu, 7 Apr 2011 09:12:09 +0000 (11:12 +0200)]
initqueue: add "--finished"

13 years agotest/TEST-01-BASIC/test.sh: uncomment debug options
Harald Hoyer [Fri, 8 Apr 2011 10:46:02 +0000 (12:46 +0200)]
test/TEST-01-BASIC/test.sh: uncomment debug options

13 years agoTEST-01-BASIC: softlink fstab to proc/mounts in test-init
Harald Hoyer [Fri, 8 Apr 2011 10:45:25 +0000 (12:45 +0200)]
TEST-01-BASIC: softlink fstab to proc/mounts in test-init

13 years agotest/TEST-01-BASIC: add basic ext3 test
Harald Hoyer [Thu, 7 Apr 2011 10:59:39 +0000 (12:59 +0200)]
test/TEST-01-BASIC: add basic ext3 test

13 years agodmsquash-live: hide plymouth while checking ISO
Alan Pevec [Wed, 6 Apr 2011 23:53:51 +0000 (01:53 +0200)]
dmsquash-live: hide plymouth while checking ISO

Fixes long-standing FIXME
Latest isomd5sum added an option to abort media check with ESC key,
but that key is taken by plymouth for switching to the detailed log
messages, making it impossible to abort checkisomd5.
Tested in text mode.

13 years agodracut-functions: ln -s with '-fn'
Harald Hoyer [Wed, 6 Apr 2011 07:19:07 +0000 (09:19 +0200)]
dracut-functions: ln -s with '-fn'

13 years agobusybox/module-setup.sh: do not create absolute symlinks
Harald Hoyer [Wed, 6 Apr 2011 07:57:59 +0000 (09:57 +0200)]
busybox/module-setup.sh: do not create absolute symlinks

13 years agoREADME.modules: update documentation
Harald Hoyer [Wed, 6 Apr 2011 07:57:39 +0000 (09:57 +0200)]
README.modules: update documentation

13 years agomkdir always with -m 0755
Harald Hoyer [Wed, 6 Apr 2011 07:22:21 +0000 (09:22 +0200)]
mkdir always with -m 0755

13 years agologinit: fix loglevel
Harald Hoyer [Wed, 6 Apr 2011 14:24:17 +0000 (16:24 +0200)]
loginit: fix loglevel

13 years agodracut.kernel.7.xml: add FIPS parameter doc
Harald Hoyer [Fri, 8 Apr 2011 08:34:01 +0000 (10:34 +0200)]
dracut.kernel.7.xml: add FIPS parameter doc

13 years agofips: add "rd.fips.skipkernel" boot option
Harald Hoyer [Wed, 6 Apr 2011 09:32:24 +0000 (11:32 +0200)]
fips: add "rd.fips.skipkernel" boot option

13 years agoiscsi: add additional hardcoded modules
Harald Hoyer [Wed, 6 Apr 2011 08:51:23 +0000 (10:51 +0200)]
iscsi: add additional hardcoded modules

https://bugzilla.redhat.com/show_bug.cgi?id=692781
https://bugzilla.redhat.com/show_bug.cgi?id=689694

13 years agocrypt/parse-crypt.sh: fix udev rule creation
Harald Hoyer [Fri, 8 Apr 2011 08:23:58 +0000 (10:23 +0200)]
crypt/parse-crypt.sh: fix udev rule creation

13 years agofcoe/parse-fcoe.sh: s#source#.#g
Harald Hoyer [Fri, 8 Apr 2011 08:21:14 +0000 (10:21 +0200)]
fcoe/parse-fcoe.sh: s#source#.#g

dash does not understand "source"

13 years agodracut: don't fail on empty /etc/ld.so.conf.d/
Amadeusz Żołnowski [Fri, 1 Apr 2011 22:45:44 +0000 (00:45 +0200)]
dracut: don't fail on empty /etc/ld.so.conf.d/

13 years agolsinitrd: default to /boot/initramfs-$(uname -r).img 010
Harald Hoyer [Thu, 31 Mar 2011 17:49:43 +0000 (19:49 +0200)]
lsinitrd: default to /boot/initramfs-$(uname -r).img

13 years agoNEWS: inc version and add NEWS
Harald Hoyer [Thu, 31 Mar 2011 16:49:27 +0000 (18:49 +0200)]
NEWS: inc version and add NEWS

13 years agodracut.spec: drop net-tools requirement
Harald Hoyer [Thu, 31 Mar 2011 16:49:02 +0000 (18:49 +0200)]
dracut.spec: drop net-tools requirement

13 years agoPKGBUILD, debian/*: changed URLs to kernel.org
Harald Hoyer [Thu, 31 Mar 2011 16:48:27 +0000 (18:48 +0200)]
PKGBUILD, debian/*: changed URLs to kernel.org

13 years agodracut.spec: fixed URL
Harald Hoyer [Thu, 31 Mar 2011 16:45:49 +0000 (18:45 +0200)]
dracut.spec: fixed URL

13 years agoMakefile: "make dist" now generates .tar.gz
Harald Hoyer [Thu, 31 Mar 2011 16:45:01 +0000 (18:45 +0200)]
Makefile: "make dist" now generates .tar.gz

13 years agobase/init: reset PATH after the /run move
Harald Hoyer [Thu, 31 Mar 2011 12:10:22 +0000 (14:10 +0200)]
base/init: reset PATH after the /run move

13 years agobase/dracut-lib.sh: changed kmgs log levels
Harald Hoyer [Thu, 31 Mar 2011 11:12:38 +0000 (13:12 +0200)]
base/dracut-lib.sh: changed kmgs log levels

New kernel/dmesg understands syslog levels, so we log with "+24" to indicate
that dracut is a daemon (current init).

13 years agodmsquash-live/dmsquash-live-genrules.sh: fixed udev rule location
Harald Hoyer [Thu, 31 Mar 2011 06:24:15 +0000 (08:24 +0200)]
dmsquash-live/dmsquash-live-genrules.sh: fixed udev rule location

Fixed the rule directory to $UDEVRULESD

13 years agoplymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth
Harald Hoyer [Wed, 30 Mar 2011 14:24:57 +0000 (16:24 +0200)]
plymouth: use /run/plymouth/pid instead of /run/initramfs/plymouth

13 years agofips: fixed "boot=<dev>" handling
Harald Hoyer [Wed, 30 Mar 2011 12:50:42 +0000 (14:50 +0200)]
fips: fixed "boot=<dev>" handling

13 years agobase/init: fixed compat /dev/.initramfs copy
Harald Hoyer [Wed, 30 Mar 2011 01:23:37 +0000 (03:23 +0200)]
base/init: fixed compat /dev/.initramfs copy

13 years agodoc: s#/init.log#/run/initramfs/init.log#g
Harald Hoyer [Wed, 30 Mar 2011 01:22:14 +0000 (03:22 +0200)]
doc: s#/init.log#/run/initramfs/init.log#g

13 years agobase/dracut-lib.sh: relax getargbool value parsing
Harald Hoyer [Tue, 29 Mar 2011 23:45:17 +0000 (01:45 +0200)]
base/dracut-lib.sh: relax getargbool value parsing

if a non-boolean value was specified, like "yes" or "no",
getargbool() would error, because we check for "$val -eq 0"

13 years agobase/init: fix cdrom polling
Harald Hoyer [Tue, 29 Mar 2011 22:01:00 +0000 (00:01 +0200)]
base/init: fix cdrom polling

13 years agoplymouth gensplash: check for console_init before calling it
Harald Hoyer [Tue, 29 Mar 2011 14:38:11 +0000 (16:38 +0200)]
plymouth gensplash: check for console_init before calling it

Thanks Jon Ander Hernandez!

13 years agoEnsure rpc_pipefs is mounted
Jon Ander Hernandez [Fri, 18 Feb 2011 11:24:06 +0000 (12:24 +0100)]
Ensure rpc_pipefs is mounted

While on some systems (like Fedora) rpc_pipefs is mounted
automatically when sunrpc module is loaded, on Debian based systems it
needs to be mounted manually.

13 years ago40network/dhcp-root.sh: s#initqueue-finished#initqueue/finished#g
Harald Hoyer [Tue, 29 Mar 2011 13:46:53 +0000 (15:46 +0200)]
40network/dhcp-root.sh: s#initqueue-finished#initqueue/finished#g

13 years agodracut: add "/lib/firmware/updates" to default firmware path
Harald Hoyer [Tue, 29 Mar 2011 13:32:34 +0000 (15:32 +0200)]
dracut: add "/lib/firmware/updates" to default firmware path

13 years agodracut: removed extra char in "Including modules done"
Harald Hoyer [Tue, 29 Mar 2011 12:45:08 +0000 (14:45 +0200)]
dracut: removed extra char in "Including modules done"

13 years agodracut-functions: bashified ret=ret+$? to ret+=$?
Harald Hoyer [Tue, 29 Mar 2011 09:30:27 +0000 (11:30 +0200)]
dracut-functions: bashified ret=ret+$? to ret+=$?

13 years agodracut: source reformat with line breaks
Harald Hoyer [Tue, 29 Mar 2011 09:27:15 +0000 (11:27 +0200)]
dracut: source reformat with line breaks

13 years agodracut: simplify $kernel version argument setting
Harald Hoyer [Tue, 29 Mar 2011 09:21:54 +0000 (11:21 +0200)]
dracut: simplify $kernel version argument setting

13 years agodracut: don't skip zero-length string outfile argument
Amadeusz Żołnowski [Mon, 28 Mar 2011 23:21:56 +0000 (01:21 +0200)]
dracut: don't skip zero-length string outfile argument

When '' was passed as outfile, dracut generated name with following
pattern:

  /boot/initramfs-$kernel

With commit 486a1b9324d6fc7bc534d8147d64b8b259692c46 dracut skips ''
argument.

13 years agoRevert "dracut: don't skip zero-length string outfile argument"
Harald Hoyer [Tue, 29 Mar 2011 08:52:22 +0000 (10:52 +0200)]
Revert "dracut: don't skip zero-length string outfile argument"

This reverts commit 0dd37f13c5cf507dbc6fd68605784ce350ef15cd.

13 years agodracut: don't skip zero-length string outfile argument
Harald Hoyer [Tue, 29 Mar 2011 08:25:24 +0000 (10:25 +0200)]
dracut: don't skip zero-length string outfile argument

When '' was passed as outfile, dracut generated name with following
pattern:

  /boot/initramfs-${kernel}.img

With commit 486a1b9324d6fc7bc534d8147d64b8b259692c46 dracut skips ''
argument.

13 years agoNEWS: update 009
Harald Hoyer [Mon, 28 Mar 2011 19:09:34 +0000 (21:09 +0200)]
NEWS: update

13 years agodracut.conf.d/fedora.conf.example: change stdloglvl to 3
Harald Hoyer [Mon, 28 Mar 2011 19:08:54 +0000 (21:08 +0200)]
dracut.conf.d/fedora.conf.example: change stdloglvl to 3

13 years agoAUTHORS: update
Harald Hoyer [Mon, 28 Mar 2011 19:08:23 +0000 (21:08 +0200)]
AUTHORS: update

13 years ago02caps: changed pre-pivot priority to 00
Harald Hoyer [Mon, 28 Mar 2011 18:33:20 +0000 (20:33 +0200)]
02caps: changed pre-pivot priority to 00

caps should be dropped before any actions with the mounted rootfs happen

13 years ago10rpmversion/version.sh: version file moved to /lib/dracut
Harald Hoyer [Mon, 28 Mar 2011 18:26:29 +0000 (20:26 +0200)]
10rpmversion/version.sh: version file moved to /lib/dracut

13 years agoNEWS: update
Harald Hoyer [Mon, 28 Mar 2011 15:52:46 +0000 (17:52 +0200)]
NEWS: update

13 years ago99base/init: fall back to manual cdrom polling
Harald Hoyer [Mon, 28 Mar 2011 15:46:03 +0000 (17:46 +0200)]
99base/init: fall back to manual cdrom polling

13 years ago40network: make dhclient mandatory again
Harald Hoyer [Mon, 28 Mar 2011 15:23:06 +0000 (17:23 +0200)]
40network: make dhclient mandatory again

13 years ago40network: install dhclient, brctl and ifenslave optionally
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:49 +0000 (15:56 +0100)]
40network: install dhclient, brctl and ifenslave optionally

Warning given by check() function in case if any of those binaries
doesn't exist was removed, because it's produces by "dracut_install -o"
later.

13 years agodracut.conf.5.xml, dracut.8.xml: logging options and -M documented
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:52 +0000 (15:56 +0100)]
dracut.conf.5.xml, dracut.8.xml: logging options and -M documented

13 years agodracut: new option: -M, --show-modules - lists modules on build
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:51 +0000 (15:56 +0100)]
dracut: new option: -M, --show-modules - lists modules on build

Module name is printed to standard output before its inclusion.

13 years agodracut-logger: /dev/log is socket, not character device
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:50 +0000 (15:56 +0100)]
dracut-logger: /dev/log is socket, not character device

Fixed typo in error message by the way.

13 years agomodules.d: logging functions adjusted to dracut-logger
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:48 +0000 (15:56 +0100)]
modules.d: logging functions adjusted to dracut-logger

13 years agodracut-functions: logging functions adjusted to dracut-logger
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:47 +0000 (15:56 +0100)]
dracut-functions: logging functions adjusted to dracut-logger

13 years agodracut-functions: code formatting corrected
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:46 +0000 (15:56 +0100)]
dracut-functions: code formatting corrected

13 years agodracut: when stdloglvl not set defaulted to 0 - should be 4
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:45 +0000 (15:56 +0100)]
dracut: when stdloglvl not set defaulted to 0 - should be 4

Removed unnecessary stdloglvl default in dracut.conf.

13 years agodracut-logger: 'user' facility for build-time and 'daemon' for boot-time
Amadeusz Żołnowski [Fri, 25 Mar 2011 14:56:44 +0000 (15:56 +0100)]
dracut-logger: 'user' facility for build-time and 'daemon' for boot-time

13 years agodracut-functions: try to find dracutbasedir, if not set
Harald Hoyer [Fri, 25 Mar 2011 14:40:51 +0000 (15:40 +0100)]
dracut-functions: try to find dracutbasedir, if not set

13 years agodracut-functions: use "type" to determine the need of sourcing dracut-logger
Harald Hoyer [Fri, 25 Mar 2011 14:38:54 +0000 (15:38 +0100)]
dracut-functions: use "type" to determine the need of sourcing dracut-logger

13 years agologinit: log to /run/initramfs/init.log
Harald Hoyer [Fri, 25 Mar 2011 12:35:05 +0000 (13:35 +0100)]
loginit: log to /run/initramfs/init.log

13 years agologinit: use /run/initramfs/init.log.end as end marker
Harald Hoyer [Fri, 25 Mar 2011 12:34:37 +0000 (13:34 +0100)]
loginit: use /run/initramfs/init.log.end as end marker

13 years agobase/dracut-lib.sh: s/RDDEBUG/RD_DEBUG/g
Harald Hoyer [Fri, 25 Mar 2011 12:32:02 +0000 (13:32 +0100)]
base/dracut-lib.sh: s/RDDEBUG/RD_DEBUG/g

RDDEBUG would be unset by the environment cleanup in init and logging
would be turned off afterwards.

13 years agoMove all hooks to "$hookdir"
Harald Hoyer [Fri, 25 Mar 2011 12:31:34 +0000 (13:31 +0100)]
Move all hooks to "$hookdir"

hookdir=/lib/dracut/hooks for now, to keep the root directory clean

13 years agocheck for getarg() function before sourcing dracut-lib.sh
Harald Hoyer [Fri, 25 Mar 2011 12:07:39 +0000 (13:07 +0100)]
check for getarg() function before sourcing dracut-lib.sh

make use of "type getarg" to check, if we really need to source
dracut-lib.sh

13 years agodracut-functions: install udev rules
Harald Hoyer [Fri, 25 Mar 2011 12:05:05 +0000 (13:05 +0100)]
dracut-functions: install udev rules

Install the udev rules to /lib, if the original rule is found there.

13 years agomkdir -m 0755
Harald Hoyer [Fri, 25 Mar 2011 12:04:16 +0000 (13:04 +0100)]
mkdir -m 0755

add the missing directory permissions to mkdir