From eec5306bbf20be878fb329c635e4accfa3e86bed Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 5 Oct 2007 19:30:04 +0000 Subject: * 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 --- config-db/OpenSLX/DBSchema.pm | 5 +++-- config-db/slxconfig-demuxer | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'config-db') 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 "; -- cgit v1.2.3-55-g7522