Commit Graph

10171 Commits

Author SHA1 Message Date
Alain Kalker
56b29979f6 busybox-initramfs: init: Allow overlay mount for mount types with parameters
This fixes overlay mount so it doesn't add $OVERLAY_DIR at the end of the
parameter list.
Kernel commandline parameter 'overlay' should now work for both NFS and
CIFS/SMB mounts, but alas, busybox CIFS mount doesn't (yet) support subdir
mounts (regular mount does). Leaving this in for posterity.

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-20 20:40:06 +01:00
Alain Kalker
03fcc58fae busybox-initramfs: init: Don't suppress output when debugging
When debugging, any information about the problem is valuable, so don't
suppress output.
Add a variable: SILENT_OUT whose value is the file descriptor to use for
commands that should normally be silent.
Idea taken from buildsystem's config/path , and slightly shortened.

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-20 20:40:06 +01:00
Alain Kalker
0de52e9de0 busybox-initramfs: init: cosmetics
Don't add general mount options to NFS_OPTIONS, pass them as combined options
instead.

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-20 20:40:06 +01:00
Alain Kalker
4f0052a875 busybox-initramfs: init: add support for CIFS mounts
Example usage:
 disk=CIFS=//192.168.1.1/share,user=name,password=secret
 disk=SMB=//192.168.1.1/public,user=guest

Note: comma's ',' are not allowed in
CIFS options (for example in usernames or passwords) because they are used
to separate options.
Note: SMB is an alias for CIFS, for people who are more used to that name.

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-20 20:37:58 +01:00
Alain Kalker
b68c832489 busybox-initramfs: init: add kernel commandline parameter: overlay
Adds a new kernel commandline parameter: overlay , which enables multiple
clients to use a single configuration file while keeping their storage mounts
separate. For the given example, the storage mounts will be under
/var/lib/overlay/<mac-address>
This will only work with mount types which support subdirectory mounts.

Example usage: disk=NFS=192.168.1.1:/var/lib/overlay overlay

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-19 18:55:38 +01:00
Alain Kalker
cd052262f8 busybox-initramfs: init: add support for NFS mounts
Example usage: boot=NFS=192.168.1.1:/tftpboot

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-19 18:53:27 +01:00
Alain Kalker
ac1d0eb0d9 busybox-initramfs: init: add support for NBD mounts
Example kernel command parameter: boot=NBD=192.168.1.1:2000

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-19 18:47:58 +01:00
Alain Kalker
a3f3a62767 busybox-initramfs: reorganize init script in preparation for boot type handlers
Changes to kernel commandline parameters:

Remove legacy parameters, to be added back later if desired.
Add a new parameter: break=<all|step,step,...> which will cause a debugging
shell to be started after each or the specified boot steps.

Functions:

mount_part, mount_disk, mount_nbd: reorganize to use mount type handlers, which
will support specifying kernel parameters like boot=TYPE=target and
disk=TYPE=target. This initial commit only has mount_default, which supports
LABEL=label and UUID=uuid, as well as block devices /dev/* and image files.

error: show more meaningful error messages, containing the boot step and action
which caused the error.
If not debugging, halt the system. This prevents the error from causing more
damage further on in the boot sequence. If debugging, start a debugging shell.

update: make sure the file to update already exists at the destination, to
prevent clobbering a rootfs mounted on /flash, which can be the case when
mounting a mtd or NBD device.

load_modules: enable loading of kernel modules in early boot, e.g. xhci-hcd
to enable mount of USB3 devices on boot.

Add a simple boot step sequencer, which allows for starting a debugging shell
after each step.

Signed-off-by: Alain Kalker <a.c.kalker@gmail.com>
2012-03-19 18:47:44 +01:00
Stephan Raue
2e66a869ad zip: enable bzip2 support, specify target cpp
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-18 01:26:16 +01:00
Stephan Raue
16db8461c8 zip: change downloadurl
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-18 00:27:32 +01:00
Stephan Raue
85237b925a Merge pull request #330 from Banjer/zip
Changes log output from .tar.bz to .zip
2012-03-17 16:11:16 -07:00
Stephan Raue
e437a274fa projects/Generic*/linux: add ATIIXP AC97 sound support, this should fix #331
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-18 00:03:12 +01:00
Bas Spaans
aa99ff9023 packages/sysutils/busybox/scripts/createlog: create .zip instead of .tar.bz2
Adds compatibilty with Windows users so they wont need extra tools. Adds a small increase in the size of the compressed logs
2012-03-17 17:25:17 +01:00
Bas Spaans
3872fd7415 Added zip package and license
packages/sysutils/busybox/meta: Added zip as dependency, preparing for changes to  packages/sysutils/busybox/scripts/createlog
2012-03-17 17:04:46 +01:00
Stephan Raue
e035fe4f49 xbmc-pvr: update to xbmc-pvr-fc63e66
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-17 14:05:31 +01:00
Stephan Raue
31e2be1d5a samba: add support 'createlog' will run on openening the 'Logfiles' share, thats a great idea, no its not more needed to login via ssh to get logs: simply open the share and a compressed archive including most usefull logs will be created. actually the user must delete byself old log archives from here, but the logs will be not produced if we never open this share. Users with own samba.conf files must update the config byself to get this feature. The idea i got with #329 , many thanks to Banjer
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-17 13:32:09 +01:00
Stephan Raue
35a5a7206b lm_sensors: update to lm_sensors-3.3.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 22:13:09 +01:00
Stephan Raue
ba7678a675 xproto: update to xproto-7.0.23
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 22:12:40 +01:00
Stephan Raue
bc39d0786c libXt: update to libXt-1.1.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 22:12:19 +01:00
Stephan Raue
4ceebece94 libX11: update to libX11-1.4.99.901
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 22:11:51 +01:00
Stephan Raue
ddd77d5f8d Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2012-03-16 21:15:10 +01:00
Stephan Raue
7f3fb6adad Merge pull request #260 from stefansaraev/virtualization
virtualization: initial virtualbox support
2012-03-16 13:14:05 -07:00
Stephan Raue
e028757802 new package: add package 'bash', this reverts 32ba6fe666, this fixes #325
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 21:00:39 +01:00
Stephan Raue
28496bc44e xbmc-addon-vuplus: change downloadurl, cosemetics, add mkpkg script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2012-03-16 15:14:18 +01:00
Stephan Raue
65549e37a9 Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv 2012-03-16 13:13:00 +01:00