mirror of
https://github.com/troglobit/finit.git
synced 2026-11-29 21:08:21 +00:00
Create /dev/vcsX, /dev/vcsaX when building for Mandriva (caio)
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
b11d6c6d4e
commit
3a7f7cd61a
1 file changed
+12
+12
@@ -54,6 +54,7 @@ THE SOFTWARE.
|
|||||||
#define RUNPARTS "/usr/bin/run-parts"
|
#define RUNPARTS "/usr/bin/run-parts"
|
||||||
#define REMOUNT_ROOTFS_RW
|
#define REMOUNT_ROOTFS_RW
|
||||||
#define MAKE_DEVICES
|
#define MAKE_DEVICES
|
||||||
|
#define MAKE_DEV_VCS
|
||||||
#define PAM_CONSOLE
|
#define PAM_CONSOLE
|
||||||
#define LISTEN_INITCTL
|
#define LISTEN_INITCTL
|
||||||
#define RUNLEVEL 5
|
#define RUNLEVEL 5
|
||||||
@@ -310,6 +311,17 @@ int main()
|
|||||||
blkdev("/dev/sda4", 0660, 8, 4);
|
blkdev("/dev/sda4", 0660, 8, 4);
|
||||||
blkdev("/dev/sda5", 0660, 8, 5);
|
blkdev("/dev/sda5", 0660, 8, 5);
|
||||||
blkdev("/dev/sda6", 0660, 8, 6);
|
blkdev("/dev/sda6", 0660, 8, 6);
|
||||||
|
#ifdef MAKE_DEV_VCS
|
||||||
|
/* Caio reports that newer X.org needs these */
|
||||||
|
blkdev("/dev/vcs1", 0660, 7, 1);
|
||||||
|
blkdev("/dev/vcs2", 0660, 7, 2);
|
||||||
|
blkdev("/dev/vcs3", 0660, 7, 3);
|
||||||
|
blkdev("/dev/vcs4", 0660, 7, 4);
|
||||||
|
blkdev("/dev/vcsa1", 0660, 7, 129);
|
||||||
|
blkdev("/dev/vcsa2", 0660, 7, 130);
|
||||||
|
blkdev("/dev/vcsa3", 0660, 7, 131);
|
||||||
|
blkdev("/dev/vcsa4", 0660, 7, 132);
|
||||||
|
#endif
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* This works only if /dev is tmpfs! If not, create
|
/* This works only if /dev is tmpfs! If not, create
|
||||||
|
|||||||
Reference in new issue
Block a user