summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
Commit message (Collapse)AuthorAgeFilesLines
* * merged branch 'initramfs-ng' back intro trunk - requires careful testing ...Oliver Tappe2008-08-201-1009/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2055 95ad53e4-c205-0410-b2fa-d234c58c8868
* Run testmkd extension (chmod,own) only if needed ...Dirk von Suchodoletz2008-08-081-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1997 95ad53e4-c205-0410-b2fa-d234c58c8868
* gdm needs a subdirectory with specific permissions to run properlyDirk von Suchodoletz2008-08-081-0/+6
| | | | | | | (extended the testmkd function for chown,mod settings) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1994 95ad53e4-c205-0410-b2fa-d234c58c8868
* back to other solution of ticket #232, since pattern matching has to be ↵Michael Janczyk2008-06-171-2/+9
| | | | | | changed too for this solution. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1884 95ad53e4-c205-0410-b2fa-d234c58c8868
* changed uri_token function. simpler solution to ticket #232Michael Janczyk2008-06-171-9/+2Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1883 95ad53e4-c205-0410-b2fa-d234c58c8868
* Solved path / proto problem with file option. Problem was checking after ":" ↵Michael Janczyk2008-06-121-1/+8
| | | | | | for port, and so paths with "::" werent truncated right. Maybe there exists a nicer solution git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1877 95ad53e4-c205-0410-b2fa-d234c58c8868
* added quotes for tftp port problem (not tested yet ticket #232).Michael Janczyk2008-06-111-7/+7
| | | | | | minor modifications in xen plugin (changed name from bootsplash to xen ;)) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1874 95ad53e4-c205-0410-b2fa-d234c58c8868
* First release of a xen plugin. Only a few diskless corrections inside. Works ↵Michael Janczyk2008-06-111-30/+4Star
| | | | | | only with clone and an already installed xen. Karnel has to be chosen manually yet... a solution for runlevellinks in plugins has to be found. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1873 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed all kdm/gdm/xdm and most of X configuration. Before altering these ↵Michael Janczyk2008-06-021-109/+0Star
| | | | | | | | | | file this step should be testet, so that painfull merging can be avoided. The files in initramfs/distro-specs and initramfs/initrd-stuff should be cleaned. Maybe we should drop support for a few older systems and refer to an older revision. Dhclinet config should be altered or removed since we do not use it anymore. Udhcp should be the default. Example line 267 in initrd-stuff/etc/functions, begins with: "# create configuration file for dhclient." Removed obsolete theme plugin and the displaymanager themes from the themes dir in the repos. The themes (kdm/gdm) are located in the plugin dir anyway. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1831 95ad53e4-c205-0410-b2fa-d234c58c8868
* Moving setup of client mode (variable desktop::kind) and displaymanagerDirk von Suchodoletz2008-03-161-0/+2
| | | | | | | | (variable desktop::manager) into the desktop plugin ... the old variables start_x and start_xdmcp are deprecated in the near future ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1636 95ad53e4-c205-0410-b2fa-d234c58c8868
* small correctionMichael Janczyk2008-03-111-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1622 95ad53e4-c205-0410-b2fa-d234c58c8868
* for testing. old theme plugin should work now with kdm and suseMichael Janczyk2008-03-111-1/+1
| | | | | | | | | | new displaymanager works with kdm and ubuntu 7.10 displaymanager plugin should change everyting in stage 1, which will follow git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1621 95ad53e4-c205-0410-b2fa-d234c58c8868
* * Cleaned out some deprecated vmware commandsVolker Uhrig2008-02-201-4/+0Star
| | | | | | | | | * We won't build vmware modules in initramfs anymore. They will be on the system anyway. This avoids also issues with depmod. * Directory/URI of the images moved into the vmware plugin git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1565 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed kernel panic in case no plugin has been installedOliver Tappe2008-02-181-1/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1560 95ad53e4-c205-0410-b2fa-d234c58c8868
* * when invoking init-hook scripts and plugin scripts, now only *.sh filesOliver Tappe2008-02-161-1/+1
| | | | | | | are accepted. Suggested by Michael to spare future headaches caused by backup files (theme.sh~ and the like) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1550 95ad53e4-c205-0410-b2fa-d234c58c8868
* bugfix: changed xdmdir variable ;)Michael Janczyk2008-01-291-7/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1504 95ad53e4-c205-0410-b2fa-d234c58c8868
* moved creation of dir into main functionMichael Janczyk2008-01-291-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1503 95ad53e4-c205-0410-b2fa-d234c58c8868
* switched kdmrc path to config-default variable, and removed from each kdm ↵Michael Janczyk2008-01-291-3/+3
| | | | | | function, hope kdm theme works now everywhere, cleaning still to be done + gdm completely renewed git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1502 95ad53e4-c205-0410-b2fa-d234c58c8868
* BUGFIX: kdm theme works now, we hope;), moved theme to pluginMichael Janczyk2008-01-241-4/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1490 95ad53e4-c205-0410-b2fa-d234c58c8868
* reimplemented splashy stuff via Theme plugin:Oliver Tappe2008-01-131-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | * activated invocation of init-hooks * removed explicit splashy calls from init (they are now done in several init-hooks provided by the Theme plugin) * the stage3 plugins are now invoked via '.' instead via a separate shell, such that they can export changed environment variables * changed invocation of initial_boot() - we now pass in the list of initscripts as otherwise I have been unable to let this function access a changed D_INITSCRIPTS variable (it would only see initial content) * moved invocation of initial_boot from servconfig to init (again such that a changed D_INITSCRIPTS will be handled correctly) * config-demuxer now passes the active plugins into mkdxsinitrd * mkdxsinitrd accepts a list of active plugins (-p) and copies the hooks directly into the initialramfs, such that they are available immediately in stage3 The bootsplash stuff (splashy) seems to work properly, but the handling of displaymanager themes is currently broken. I will look into that tomorrow. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1472 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added hook mechanism to initramfs-init which can be used by pluginsOliver Tappe2008-01-111-0/+11
| | | | | | | | | | | to trigger execution of their own script at a certain point in the initramfs-init execution path. This is not active yet * added basic implementation outline for Theme (a.k.a splash) plugin - unable to test anything, though, as VMware does not seem to provide a VESA framebuffer, so splashy won't run git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1466 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for the size of container file sitting on NFS, do not use "-b" forDirk von Suchodoletz2007-11-041-1/+2
| | | | | | | busybox udhcpc (to be investigated more ...) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1403 95ad53e4-c205-0410-b2fa-d234c58c8868
* Implementing loopback container on NFS for the VMware *.vmem problem ...Dirk von Suchodoletz2007-10-241-5/+14
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1398 95ad53e4-c205-0410-b2fa-d234c58c8868
* Set of cleanups and minor fixes ...Dirk von Suchodoletz2007-10-011-13/+15
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1361 95ad53e4-c205-0410-b2fa-d234c58c8868
* Minor cleanup.Dirk von Suchodoletz2007-08-031-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1315 95ad53e4-c205-0410-b2fa-d234c58c8868
* postinit.local should be set executable (was automatically done withDirk von Suchodoletz2007-08-011-13/+13
| | | | | | | | mkdxsinitrd in earlier versions, but is transported via ConfTGZ now)i, small fixes for local device fileget ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1299 95ad53e4-c205-0410-b2fa-d234c58c8868
* ... add option/proto for file=... to use some local source for ConfTGZ,Dirk von Suchodoletz2007-08-011-5/+13
| | | | | | | see r1296, r1297 too. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1298 95ad53e4-c205-0410-b2fa-d234c58c8868
* Allow local block device for client root filesystem (URI isDirk von Suchodoletz2007-08-011-4/+4
| | | | | | | rootfs=lbdev://disk/fs, e.g. disk=sda2, fs=squashfs) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1296 95ad53e4-c205-0410-b2fa-d234c58c8868
* Forgot to remove the debugging output for fileget ...Dirk von Suchodoletz2007-07-191-7/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1262 95ad53e4-c205-0410-b2fa-d234c58c8868
* Repaired uri_token function (no prepend of leading slash is required anyDirk von Suchodoletz2007-07-191-8/+8
| | | | | | | more) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1258 95ad53e4-c205-0410-b2fa-d234c58c8868
* Rewrite of tftp fileget - should be possible to use other servers thanDirk von Suchodoletz2007-07-191-15/+40
| | | | | | | serverip (next-server) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1257 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed late_dm option (too confusing and too little effect), small fixDirk von Suchodoletz2007-07-141-0/+18
| | | | | | | for Ubuntu functions-default, added "binfinder" function. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1242 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for syslog-ng (at least log to console tty10, if fileloggingDirk von Suchodoletz2007-07-111-6/+7
| | | | | | | preferred use start_syslog="file") git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1238 95ad53e4-c205-0410-b2fa-d234c58c8868
* * now the contents of initramfs-setup are dumped to machine-setup, too, Oliver Tappe2007-07-061-1/+2
| | | | | | in order to make it clearer what values had been given git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1228 95ad53e4-c205-0410-b2fa-d234c58c8868
* Further cleanups for ConfTGZ transport (to be more flexible for future Dirk von Suchodoletz2007-07-011-10/+6Star
| | | | | | | versions - ftp/http with wget). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1212 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for nfsmnt in init, more code cleanups ...Dirk von Suchodoletz2007-07-011-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1203 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanups and simplifications ...Dirk von Suchodoletz2007-07-011-34/+18Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1201 95ad53e4-c205-0410-b2fa-d234c58c8868
* Generate warning message if ConfTGZ can not be unpackedFelix Endres2007-06-011-1/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1136 95ad53e4-c205-0410-b2fa-d234c58c8868
* Stuff for WLAN boot (all testing).Dirk von Suchodoletz2007-06-011-4/+19
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1125 95ad53e4-c205-0410-b2fa-d234c58c8868
* Checking in tested block for flexible partition ID44 formatting andDirk von Suchodoletz2007-05-121-1/+2
| | | | | | | mounting ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1062 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed udev stuff (from main scripts and suse specific) ...Dirk von Suchodoletz2007-05-111-44/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1041 95ad53e4-c205-0410-b2fa-d234c58c8868
* Switched to much more flexible disk formatting for /tmp (starting withDirk von Suchodoletz2007-05-101-0/+41
| | | | | | | | | xfs - thanks Olli for the hint!). Should be added to beta branch if tested, appoved ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1040 95ad53e4-c205-0410-b2fa-d234c58c8868
* Ugly little bug with succession of && and || (curly bracket solves thisDirk von Suchodoletz2007-05-071-2/+2
| | | | | | | | :-)) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1025 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanups and simplifications in etc/functions file (stage3)Dirk von Suchodoletz2007-05-061-50/+16Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1009 95ad53e4-c205-0410-b2fa-d234c58c8868
* It might be more convenient to use the mkfs.ext2 out of rootfilesystemDirk von Suchodoletz2007-05-061-1/+1
| | | | | | | | than copying it into initramfs (unless available via busybox again) ... (Same principle is used for ldconfig already) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1008 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added option -S to mkdxsinitrd in order to pass in the system nameOliver Tappe2007-05-061-11/+11
| | | | | | | | | | | * replaced $DISTRO by $DISTRO_NAME and $DISTRO_VER * added $SYSTEM_NAME and used it at a couple of places where $DISTRO was used before * removed the two tries to fetch the config-tgz without any system name, as these are never generated by the demuxer anyway. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1007 95ad53e4-c205-0410-b2fa-d234c58c8868
* Started to remove distro-specific udev from stage3 (was already done forDirk von Suchodoletz2007-05-051-2/+3
| | | | | | | | mkdxsinitrd, so no need there :-)), please check for other distros too (see tickets #129, #130) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1002 95ad53e4-c205-0410-b2fa-d234c58c8868
* Change of behaviour for ld.so.cache generation (done by default inDirk von Suchodoletz2007-04-301-1/+1
| | | | | | | | Stage1). It can be requested for stage3 by setting of "ldsc" in kernel commandline. "noldsc" is deprecated from this version on ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@966 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed error from removing of "MAC", check the usage of macaddr for XEN!Dirk von Suchodoletz2007-04-291-4/+3Star
| | | | | | | | | Gave more room for SLX version string. The variable $DISTRO is to be filled in with the export name (to be compatible with directory naming of config directories ...), see BootRootVerzeichnisse for that ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@965 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix and cleanup for fileget ...Dirk von Suchodoletz2007-04-291-18/+9Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@964 95ad53e4-c205-0410-b2fa-d234c58c8868