install: create /var/run folder on rootfs.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 20 Nov 2013 16:15:31 +0000 (17:15 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 20 Nov 2013 16:15:31 +0000 (17:15 +0100)
src/install+setup/install/main.c

index 8525e53..8f78865 100644 (file)
@@ -433,6 +433,7 @@ int main(int argc, char *argv[])
        mkdir("/harddisk/boot", S_IRWXU|S_IRWXG|S_IRWXO);
        mkdir("/harddisk/var", S_IRWXU|S_IRWXG|S_IRWXO);
        mkdir("/harddisk/var/log", S_IRWXU|S_IRWXG|S_IRWXO);
+       mkdir("/harddisk/var/run", S_IRWXU|S_IRWXG|S_IRWXO);
        
        snprintf(commandstring, STRING_SIZE, "/bin/mount %s1 /harddisk/boot", hdparams.devnode_part);
        if (runcommandwithstatus(commandstring, ctr[TR_MOUNTING_BOOT_FILESYSTEM]))