summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2007-10-05 21:30:04 +0200
committerOliver Tappe2007-10-05 21:30:04 +0200
commiteec5306bbf20be878fb329c635e4accfa3e86bed (patch)
tree127d28a5c756180d58c809b8ea92cd8143e0bef0 /config-db
parent* avoid warning if ld.so.conf doesn't exist (seems to be the case on (diff)
downloadcore-eec5306bbf20be878fb329c635e4accfa3e86bed.tar.gz
core-eec5306bbf20be878fb329c635e4accfa3e86bed.tar.xz
core-eec5306bbf20be878fb329c635e4accfa3e86bed.zip
* added new DB-field attr_ramfs_miscmods to system table
* added support to slxconfig-demuxer for passing attr_ramfs_miscmods to mkdxsinitrd, such that it will be asked to copy the miscellaneous modules, too. N.B.: However this does not seem to work for vesafb, as the result was an empty directory 'vesafb.ko' in the initramfs. Does not seem right to me, at least ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1371 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r--config-db/OpenSLX/DBSchema.pm5
-rwxr-xr-xconfig-db/slxconfig-demuxer3
2 files changed, 6 insertions, 2 deletions
diff --git a/config-db/OpenSLX/DBSchema.pm b/config-db/OpenSLX/DBSchema.pm
index e4263a9b..d22f6eab 100644
--- a/config-db/OpenSLX/DBSchema.pm
+++ b/config-db/OpenSLX/DBSchema.pm
@@ -136,8 +136,9 @@ $DbSchema = {
'comment:s.1024', # internal comment (optional, for admins)
'kernel:s.128', # path to kernel file, relative to /boot
'kernel_params:s.512', # kernel-param string for pxe
- 'attr_ramfs_nicmods:s.128', # list of network interface card modules
- 'attr_ramfs_fsmods:s.128', # list of filesystem modules
+ 'attr_ramfs_nicmods:s.256', # list of network interface card modules
+ 'attr_ramfs_fsmods:s.256', # list of filesystem modules
+ 'attr_ramfs_miscmods:s.256', # list of miscellaneous modules
'attr_ramfs_screen:s.10', # screen size for splash
'hidden:b', # hidden systems won't be offered for booting
@sharedAttributes,
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 48945383..c71be64d 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -430,6 +430,9 @@ sub generateInitalRamFS
if ($fsMods) {
$cmd .= qq[-f "$fsMods" ];
}
+ if ($info->{attr_ramfs_miscmods}) {
+ $cmd .= qq[-m "$info->{attr_ramfs_miscmods}" ];
+ }
my $rootPath = "$openslxConfig{'private-path'}/stage1/$vendorOS->{name}";
$cmd .= "-i $pxeVendorOSPath/$info->{'initramfs-name'} -r $rootPath ";