Commit Graph

320 Commits

Author SHA1 Message Date
Lukas Rusak
ae9e7cab5f buildsys: define TARGET_KERNEL_ARCH early 2016-02-29 21:25:37 +01:00
Stephan Raue
3d4caa6b6d buildsystem: move $HOME/.openelec/$PROJECT to $HOME/.openelec/projects/$PROJECT
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-02-22 17:40:39 +01:00
Stephan Raue
b0aa92889f buildsystem: install vendor and project related files to image
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-02-22 17:40:39 +01:00
Peter Vicman
3b75736931 scripts/mkimage: create disk image without sudo
Mtools is used to format and copy files to vfat partition.
Populatefs is used to copy files to ext4 partition.

Tested on imx6 with u-boot, Generic with BIOS and EFI boot.

To avoid messing around with ext4 partition we could also provide "empty" disk image file. Both partitions would be already formatted and storage partition would already contain resize file. Then mkimage script would only copy kernel, system, bootloader files and install bootloader.
But current approach is more flexible for future use.
2016-02-19 08:49:20 +01:00
Stephan Raue
44da7861bc Merge pull request #4543 from CvH/patch-1
zip packages extraction fix
2016-02-07 15:58:53 +01:00
Alex Deryskyba
7177ce1a45 scripts/image: copy aml_autoscript only if it exists 2016-01-15 14:43:49 +01:00
dolorosus
7ea1999d22 Quoting variables to preserve whitespaces in banner 2016-01-12 06:35:50 +01:00
chewitt
0e1f4ef82a cosmetics: rename 'unofficial' to 'community' builds 2016-01-07 04:09:45 +01:00
Stephan Raue
6481621d97 scripts: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:26:58 +01:00
CvH
7df343f885 scripts/image: remove imx6 hack for zip extraction
removed workaround which was necessary due the broken zip extrtaction
2015-12-30 16:55:01 +01:00
Lukas Rusak
8f5f26d65c scripts/image: dont strip symlinks and silence depmod 2015-12-21 23:38:07 -08:00
MilhouseVH
0f415ed2f3 [RBP] Use actual kernel_version in place of wildcard 2015-10-25 21:34:08 +00:00
MilhouseVH
3dfc075002 [RBP] Drop mkknlimg, use version shipped with kernel 2015-10-25 17:09:07 +00:00
vitalogy
176a5d7660 dosfstools: build mkfs.vfat for host (do this from scripts/image) 2015-10-23 21:21:15 +02:00
vitalogy
525780e607 scripts/image: remove spaces 2015-10-18 01:15:26 +02:00
Stefan Saraev
fd31d5d958 buildsys: clean up checkdeps 2015-10-05 00:38:40 +02:00
Haggai Eran
e3203be00e add EXTRA_CMDLINE option to add kernel command line arguments
Allow configuring extra kernel command line arguments by using the
EXTRA_CMDLINE variable. The patch handles EXTRA_CMDLINE only for the
bcm2835 boot loaders.
2015-09-15 14:13:08 +02:00
Stefan Saraev
0d8bb0d800 (cosmetics) scripts/image: do not create unused dist specific files in /etc 2015-08-22 19:34:08 +03:00
Stefan Saraev
2fd358dc31 scripts/image: do not symlink /usr/var
this seems to be leftover from pre-y2k days
2015-08-03 11:53:31 +03:00
Stephan Raue
440b63ff3b scripts/image: update NOOBS support to create marketing.tar, thanks to Gordon
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-06-14 20:10:15 +02:00
Stephan Raue
ca3af10281 scripts/image: add support for distribution specific NOOBS support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-06-14 15:11:56 +02:00
vpeter4
461e76c940 imx6: create images for diferent systems based on SYSTEM environment variable
creates default cuboxi image
PROJECT=imx6 ARCH=arm make image

creates image for udoo system
PROJECT=imx6 ARCH=arm SYSTEM=udoo_quad make image
2015-05-17 14:16:03 +02:00
Stefan Saraev
66276caf24 buildsys: also add $OS_VERSION to target image name 2015-05-14 22:36:03 +03:00
Stephan Raue
7d7bf1d8f4 projects/WeTek_Play/install: provide script to clear NAND before installing
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-05-04 19:19:29 +03:00
Alex Deryskyba
0c973c9b62 WeTek_Play: Add support for installing OE into NAND memory 2015-05-04 19:19:29 +03:00
Stephan Raue
98994fe324 Revert "WeTek_Play: Add support for installing OE into NAND memory"
This reverts commit 06e5bdcf78.
2015-05-03 19:20:30 +02:00
Stephan Raue
333fff31bf Revert "projects/WeTek_Play/install: provide script to clear NAND before installing"
This reverts commit 9be54ce1ba.
2015-05-03 19:20:22 +02:00
Stephan Raue
9be54ce1ba projects/WeTek_Play/install: provide script to clear NAND before installing
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-05-02 17:45:49 +02:00
Alex Deryskyba
06e5bdcf78 WeTek_Play: Add support for installing OE into NAND memory 2015-05-02 17:45:49 +02:00
Stefan Saraev
774f426294 Merge pull request #4052 from InuSasha/features/build
[build] add BUILD_SUFFIX to the IMAGE_NAME, too.
2015-04-30 19:49:16 +03:00
Sascha Kuehndel (InuSasha)
0d78314954 [build] add enviroment variable IMAGE_SUFFIX. It extend the IMAGE_NAME, if set. 2015-04-08 20:31:53 +02:00
Stefan Saraev
baa7b41625 cleanup config/release. not used 2015-04-05 22:49:22 +03:00
Stefan Saraev
c2b378c895 mkimage: x86: always creeate uefi images 2015-04-05 18:10:46 +03:00
Stefan Saraev
4fe8fad558 buildsys: set default arch to x86_64. drop i386 support 2015-04-03 12:08:22 +03:00
Stephan Raue
7e83801d16 noobs: add support for noobs 'supported_hex_versions'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-02-08 16:33:21 +01:00
Stephan Raue
36a5fbed80 noobs: move distro icon to distri folder
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-02-08 15:32:59 +01:00
Stephan Raue
a7c79ebe62 noobs: add support for PROJECT based multiple noobs builds
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-02-08 15:32:59 +01:00
Stephan Raue
9a597ba67d scripts/image: install dtb files for bcm2835 bootloader too if avaible
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-02-02 22:05:20 +01:00
Stephan Raue
f3672bc87a scripts: add script to inject device tree blobs to RPi kernel, thanks to Milhouse
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-01-25 14:12:42 +01:00
Stefan Saraev
36a10d2003 Merge pull request #3783 from stefansaraev/mkimage
mkimage enhancements
2015-01-16 19:53:29 +02:00
Stefan Saraev
4d63cc9852 scripts/image: add support for project specific systemd services 2015-01-15 12:14:09 +02:00
Stefan Saraev
b1ddbd91c7 mkimage: allow projects to set kernel image name
... and set to kernel.img for WeTek_Play and RPi
2015-01-13 12:36:40 +02:00
Stefan Saraev
01f10c1735 mkimage: also include /sbin in $PATH for mkimage 2015-01-13 12:32:35 +02:00
Jean-André Santoni
27fe5660a5 Fix multiple installations in NOOBS
When installing two OpenELEC based distro with NOOBS, the labels of the SYSTEM partitions conflict. This fix address that problem by prefixing the names of these partitions by the DISTRONAME.
2015-01-09 23:50:07 +01:00
Stefan Saraev
6b679312f7 mkimage: say something before doing 'sudo scripts/mkimage' 2014-11-09 20:53:36 +02:00
Stephan Raue
22404bc775 scripts/image: prefix OpenELEC own variables with OPENELEC_ in /etc/os-release
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-22 12:38:34 +02:00
Stephan Raue
d558d993cf scripts/image: add ARCH= and BUILD= to /etc/os-release
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-22 12:04:36 +02:00
Stephan Raue
8318076009 [xbmc-rebrand] scripts/image: rename XBMC comments to 'Kodi'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-21 14:00:24 +02:00
Stephan Raue
2c54f9a757 Merge pull request #3392 from vpeter4/project_build
allow packages in projects folder
2014-09-27 21:17:21 +02:00
Stephan Raue
5e6698328c remove package 'lm_sensors', moved to unofficial addon repo
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-03 08:23:33 +02:00