summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
Commit message (Collapse)AuthorAgeFilesLines
* * merged branch 'initramfs-ng' back intro trunk - requires careful testing ...Oliver Tappe2008-08-201-869/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2055 95ad53e4-c205-0410-b2fa-d234c58c8868
* First release of a xen plugin. Only a few diskless corrections inside. Works ↵Michael Janczyk2008-06-111-3/+2Star
| | | | | | 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
* * fileget can't run in the background, in order to allow to use it's resultOliver Tappe2008-03-241-1/+7
| | | | | | | | (config) in init-hook '15-have-ip-config' * added three more init-hooks: '85-have-inital-boot', '90-postinit-done' and '95-cleanup' for finer grained control git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1685 95ad53e4-c205-0410-b2fa-d234c58c8868
* Optimization for dnbd2 settings ...Dirk von Suchodoletz2008-03-111-5/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1614 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixes for DNDB2 in SLX init, update of mkcdboot.uclib with ipcalcDirk von Suchodoletz2008-03-041-8/+12
| | | | | | | applet. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1598 95ad53e4-c205-0410-b2fa-d234c58c8868
* Optimizations, improvements ...Dirk von Suchodoletz2008-03-011-3/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1590 95ad53e4-c205-0410-b2fa-d234c58c8868
* Improved version of CD preboot test with RootFS type to choose ...Dirk von Suchodoletz2008-03-011-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1589 95ad53e4-c205-0410-b2fa-d234c58c8868
* Trying on another export type -> dnbd2 ...Dirk von Suchodoletz2008-02-291-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1585 95ad53e4-c205-0410-b2fa-d234c58c8868
* Improved CD preboot init file ...Dirk von Suchodoletz2008-02-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1583 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixing bug of "/etc/mdev.conf not found" reported by Rainer in Stage3 ...Dirk von Suchodoletz2008-02-251-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1572 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed kernel panic in case no plugin has been installedOliver Tappe2008-02-181-3/+5
| | | | 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-2/+2
| | | | | | | 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
* reimplemented splashy stuff via Theme plugin:Oliver Tappe2008-01-131-32/+6Star
| | | | | | | | | | | | | | | | | | | | | | | | * 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-1/+21
| | | | | | | | | | | 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
* Heavy cleanup after changing xorg configuration ...Dirk von Suchodoletz2007-12-061-2/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1423 95ad53e4-c205-0410-b2fa-d234c58c8868
* Introduced completely new approach of xorg.conf setup into stage3 ... seems toDirk von Suchodoletz2007-12-051-3/+8
| | | | | | | work for me, but to be checked and reported :) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1422 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixes for changed directories in /etc (SuSE), fix for improper tarDirk von Suchodoletz2007-10-151-3/+3
| | | | | | | | filter while copying etc/ data (bind mounts). Do not copy splashy stuff if not used and remove splashy after using ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1387 95ad53e4-c205-0410-b2fa-d234c58c8868
* another regexp bug :(Michael Janczyk2007-10-041-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1369 95ad53e4-c205-0410-b2fa-d234c58c8868
* bug extinctionMichael Janczyk2007-10-041-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1368 95ad53e4-c205-0410-b2fa-d234c58c8868
* splashy works now with ubuntu.Michael Janczyk2007-10-041-5/+4Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1367 95ad53e4-c205-0410-b2fa-d234c58c8868
* Aeh, fix ... for lbdev again.Dirk von Suchodoletz2007-10-011-3/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1366 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for lbdev boot (hopefully :))Dirk von Suchodoletz2007-10-011-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1365 95ad53e4-c205-0410-b2fa-d234c58c8868
* Set of cleanups and minor fixes ...Dirk von Suchodoletz2007-10-011-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1361 95ad53e4-c205-0410-b2fa-d234c58c8868
* Do not do splash stuff if kernel does not provide proper interface ... (to ↵Dirk von Suchodoletz2007-09-291-2/+6
| | | | | | be tested :)) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1359 95ad53e4-c205-0410-b2fa-d234c58c8868
* too fast ...Dirk von Suchodoletz2007-09-281-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1358 95ad53e4-c205-0410-b2fa-d234c58c8868
* Simple simplification :)Dirk von Suchodoletz2007-09-281-12/+10Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1357 95ad53e4-c205-0410-b2fa-d234c58c8868
* Splashy optimization + splashy exit through boot initial script ↵Michael Janczyk2007-09-281-28/+11Star
| | | | | | splashy.stop. TODO: Splashy shutdown git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1354 95ad53e4-c205-0410-b2fa-d234c58c8868
* minor theme modificationsMichael Janczyk2007-09-111-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1337 95ad53e4-c205-0410-b2fa-d234c58c8868
* added, renamed rest of theming binaries. adapted mkdxsinitrd, init and ↵Michael Janczyk2007-09-101-0/+51
| | | | | | | | | | | | | servconfig for the new theming option. old bootsplash removed, since it was ugly and only worked in SUSE and needed a patched kernel. Now you can change the appearance of KDM (GDM?) and splasy by running mkdxsinitrd -s ... Makefile has to be adapted as well, since the splashy-binaries has to be copies to SLX-share-path/splashy/... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1335 95ad53e4-c205-0410-b2fa-d234c58c8868
* Stop trying after a while if nbd-client could not be started properly Dirk von Suchodoletz2007-08-041-1/+6
| | | | | | | (slx init), small mkdxsinitrd modification for cd-boot initramfs. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1317 95ad53e4-c205-0410-b2fa-d234c58c8868
* Minor cleanup.Dirk von Suchodoletz2007-08-031-1/+0Star
| | | | 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-4/+4
| | | | | | | | 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
* More for local device startup ... (see r1296)Dirk von Suchodoletz2007-08-011-7/+15
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1297 95ad53e4-c205-0410-b2fa-d234c58c8868
* Allow local block device for client root filesystem (URI isDirk von Suchodoletz2007-08-011-14/+21
| | | | | | | 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
* Renaming of nbd* variables to reflect a more general blockdevice (baseDirk von Suchodoletz2007-07-311-27/+40
| | | | | | | for rootfs like squashfs) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1289 95ad53e4-c205-0410-b2fa-d234c58c8868
* Forgot to remove the debugging output for fileget ...Dirk von Suchodoletz2007-07-191-1/+1
| | | | 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-3/+4
| | | | | | | 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-4/+11
| | | | | | | serverip (next-server) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1257 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed timing problems when trying to unmount the modules folderOliver Tappe2007-07-061-5/+7
| | | | | | * minor clarification git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1229 95ad53e4-c205-0410-b2fa-d234c58c8868
* Adjusted timings a little bit (waiting for scripts like hwautocfg toDirk von Suchodoletz2007-07-041-2/+1Star
| | | | | | | complete ...) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1224 95ad53e4-c205-0410-b2fa-d234c58c8868
* * added support for os-plugins:Oliver Tappe2007-07-031-0/+9
| | | | | | | | | | | | + added script slxos-plugin, which must be invoked to install a plugin into a vendor-OS + added handling of plugins to slxconfig-demuxer + added folder structure for plugins (below 'os-plugins') + implemented one simple plugin, called 'Example' which contains a couple of hints how to write own plugins git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1220 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for nfsmnt in init, more code cleanups ...Dirk von Suchodoletz2007-07-011-10/+13
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1203 95ad53e4-c205-0410-b2fa-d234c58c8868
* * reverted removal of leading slash to nfspath (although conceptually, thisOliver Tappe2007-06-281-1/+1
| | | | | | is bogus), should fix problems with nfs-mounts git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1194 95ad53e4-c205-0410-b2fa-d234c58c8868
* * fixed problem reported by Felix (& seconded by Dirk and Michael) that causedOliver Tappe2007-06-281-0/+1
| | | | | | | | the mounting of nfs-root to fail (because of incomplete de-quoting mechanism). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1193 95ad53e4-c205-0410-b2fa-d234c58c8868
* * implemented support for generating a separate initramfs-setup as part ofOliver Tappe2007-06-241-13/+10Star
| | | | | | | | | the initramfs, machine-setup is now transported via Conf-TGZ only. N.B.: Couldn't apply this to the 4.1.0 branch since init has diverted a little too much for my liking! Will look into this next week. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1189 95ad53e4-c205-0410-b2fa-d234c58c8868
* Improved version for dnbd2 setup ...Dirk von Suchodoletz2007-06-061-7/+3Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1149 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed obsolete udev stuff from debian specific. Added support forDirk von Suchodoletz2007-06-051-1/+19
| | | | | | | | | multisource dnbd2. Integrated functionality to read machine-setup and kernel commandline the same way for init variable initialization. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1148 95ad53e4-c205-0410-b2fa-d234c58c8868
* Check if more than one ethernet interface is present ...Dirk von Suchodoletz2007-06-011-1/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1138 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup for ntp settings (initial setup is distro independent), cleanupDirk von Suchodoletz2007-06-011-2/+8
| | | | | | | for (W)LAN interface stuff in slx init. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1129 95ad53e4-c205-0410-b2fa-d234c58c8868
* Small bug which prevented the setting of default route if no PXE ipDirk von Suchodoletz2007-06-011-6/+7
| | | | | | | config was available ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1126 95ad53e4-c205-0410-b2fa-d234c58c8868