Commit Graph
35 Commits
Author SHA1 Message Date
Peter Johnson c85fd9f33c Revamp image to build dependencies as part of stages (#83)
Fixes #17.

Stage 2 is fairly minimal, stage 3 builds/installs OpenCV and WPILib et al, and stage 4
builds/installs the FRCVision webdash and adds the vision examples.

Other changes:
- OpenCV compiled with ffmpeg, OpenBLAS, and libgtk (fixes #79, fixes #80)
- OpenBLAS added to image (fixes #65)
- C++ Makefile is more easily extensible (fixes #71)
- Sources for everything are bundled into image into /usr/src
- README updated (fixes #16)
- pkg-config files for wpilibc et al are now installed and C++ Makefile uses them (if compiled local to Pi)
- Both dynamic and static libs are included in image

The only downside of all these changes (particularly the ffmpeg, OpenBLAS, and libgtk inclusion)
is the image size is now over 3GB (800MB compressed). The previous image didn't quite fit on a
2GB card however.
2019-02-02 23:37:18 -08:00
Błażej Sowa 2d70ac83f8 Allow custom deploy zip filename 2019-01-01 22:00:28 -08:00
Błażej Sowa 4a0f5e87b7 Allow custom image filename 2019-01-01 22:00:28 -08:00
Peter Johnson d687acb744 Initial FRCVision commit. 2018-11-16 00:52:05 -08:00
Hugo Hromic fea9e2945a export-image: clean additional backup files (#186) 2018-06-04 09:43:42 +01:00
David Steele 555417bbe6 Fix some quoted globs in export-image cleanup (#173) 2018-03-26 13:06:10 +01:00
Serge Schneider ff2d5edee1 shellcheck 2018-03-13 12:50:50 +00:00
Serge Schneider 4d689a25fd export-image: don't round up if already a multiple of 4MB
Fixes #156
2018-03-01 18:02:01 +00:00
James Ruan 40eae05204 make root filesystem 4M aligned (#154) 2018-03-01 17:52:26 +00:00
Serge Schneider c430f618d0 Remove ld.so.preload and policy-rc.d changes 2018-03-01 15:54:12 +00:00
Serge Schneider aa8731012e Round image size up to nearest 4M block 2017-11-24 10:12:08 +00:00
Andrew Wedgbury 35994f5d9c Remove /etc/vnc/updateid when finalising 2017-11-22 15:49:37 +00:00
XECDesign 31fcc80953 Fix typo in export-image
Fixes #132
2017-11-07 05:43:01 +00:00
XECDesign 90adfb1551 Label root partition
Fixes #131
2017-11-06 10:53:05 +00:00
Jacen 26fcf59f3f [adding] qemu emulation layout to test images with qemu 2017-09-14 10:12:30 +01:00
James Ruan c0513c547a export-image: when work in a non-English locale environment the PARTUUID will silently fail, resulting to an unbootable image file. (#96)
* use dd and xxd to get disk identifier

* add xxd as dependency
2017-08-31 11:22:33 +01:00
Serge Schneider c2db8285a1 Disable 64bit filesystem feature 2017-08-11 17:39:58 +01:00
Serge Schneider 7149e20f2d export-image: generate .info file 2017-07-28 13:35:46 +01:00
Serge Schneider 8f361a1c38 Switch to Stretch 2017-07-28 13:35:46 +01:00
TJ Rana 3441133d1c Corrected various typos (#91)
* Rename License.md to LICENSE

* Correct typos

* Clean up code layout

Organize layout with extra lines
2017-07-27 12:11:07 +02:00
Russ Kubes 4d65b2b357 Export-image: Only disable metadata_csum feature if it's possibly enabled. 2017-07-17 11:36:43 +02:00
Serge Schneider 234c4b7937 Export-image: disable metadata_csum for compatibility with older SD card copiers 2017-07-03 16:40:23 +01:00
Serge Schneider a0060bd475 export-image: increase free space padding 2017-06-21 10:56:07 +01:00
Serge Schneider d2b8d634b9 export-image: switch from fallocate to truncate 2017-06-21 10:46:10 +01:00
Serge Schneider 02728fe65e export-image: use apparent size when calculating disk usage 2017-06-20 16:13:59 +01:00
Serge Schneider 921202e371 stage4: add /etc/mtab symlink 2017-05-15 16:40:31 +01:00
Serge Schneider 6c146a7bb7 Clean up clean up 2017-04-03 16:01:13 +01:00
Serge Schneider 718a4e8c21 Switch to PARTUUID 2017-03-07 15:14:03 +00:00
Serge Schneider 37902fb114 export-image: Format /boot as FAT32 2017-03-06 09:27:48 +00:00
Claus F. Strasburger 667318116a Added Docker support (#40)
* Added Docker support

- replaced necessity for devicemapper (through kpartx) by using parted and
  losetup with offsets
- added Dockerfile
- added dependency for parted and grep
- added hints to README.md
- common: loop through unmounts, fix shellcheck warnings

* stage2: use debconf instead of console-setup patch. Fixes #41
2017-01-23 12:44:03 +00:00
Serge Schneider c4fb032d3b Use capsh to ensure file capabilities aren't set 2016-11-14 23:55:45 +00:00
Serge Schneider 354be6e00b Fix .config permissions 2016-11-14 18:03:57 +00:00
chz^3 017d3a4341 rsync single file system (#25)
If proc is mounted in rootfs (e.g., via chroot), rsync will try copying kcore
when permitted to cross file system boundaries.
2016-10-09 22:09:25 +01:00
Serge Schneider 96bb138c83 hardlink documentation 2016-05-19 19:45:54 +01:00
Serge Schneider bdca3e3b48 Rework 2016-05-05 21:21:42 +01:00