Commit Graph

36 Commits

Author SHA1 Message Date
Carl D. Roth
dbc63575e7 Update swiprep version locations, add --record option 2016-06-01 18:48:35 -07:00
Carl D. Roth
35db5ffb43 Better implementation of 'latest'
- swi file timestamp is unreliable if clock is not set correctly
- extract build timestamp from manifest if available
- extract timestamp-ish string from 'version' file or from swi filename
2016-05-27 13:06:14 -07:00
Carl D. Roth
b21007c70a Install manifest.json if available
- Hurr, fix unzip arguments
- put manifest and/or version at root level too
2016-05-27 13:02:53 -07:00
Carl D. Roth
9194aff9da Don't install an empty version file 2016-05-27 11:36:44 -07:00
Carl D. Roth
c4669a6dc0 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	builds/amd64/installer/legacy/builds/Makefile
	builds/any/installer/grub/builds/Makefile
	builds/any/installer/legacy/fit/builds/Makefile
	builds/any/installer/uboot/builds/Makefile
	packages/base/all/initrds/loader-initrd-files/PKG.yml
	packages/platforms-closed
2016-05-26 14:42:37 -07:00
Carl D. Roth
e17ea293e2 Refactor boot, boot1, implement directory-based installs 2016-05-26 14:06:00 -07:00
Carl D. Roth
c2e6da45a4 Factored out swi unpack/mount/overlay stuffs 2016-05-26 14:03:50 -07:00
Carl D. Roth
8041b7bf7c Deprecate initnetdev
- moved to onl-vendor-config-onl
- onl-loader-initscripts is now deprecated
2016-05-25 11:48:34 -07:00
Carl D. Roth
dbb2989314 Refactor to use swiget and swimount
- working (almost) support for persistent installs
2016-05-25 11:13:46 -07:00
Carl D. Roth
168495e04b Move 'latest' SWI calculation into swiget 2016-05-25 11:13:46 -07:00
Carl D. Roth
6a17f71234 Factor out the SWI retrieval and directory mounting 2016-05-25 11:13:45 -07:00
Carl D. Roth
f9b67ae99c Added 'installed' bootmode with inspiration from @sonoble
- refactor to leverage /bootmodes/swi
- splice in some of the /etc muckery from /bin/boot
- added consistency checks
- put some temp files on the flash
2016-05-25 11:13:45 -07:00
Carl D. Roth
87ae54e79c loader init files depend on onl-vendor-config-onl 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
b78a912292 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-05-20 14:55:25 +00:00
Jeffrey Townsend
9057eb80e2 Version files moved. 2016-05-20 01:25:36 +00:00
Jeffrey Townsend
dd4ebb7904 Support possible dynamic generation of the boot-config if not present. 2016-05-20 00:09:24 +00:00
Jeffrey Townsend
95997e7983 Use the system boot-config from /mnt/onl/boot/boot-config if present.
If not, use system default /etc/onl/boot-config-default if present.
2016-05-20 00:08:16 +00:00
Jeffrey Townsend
647e9d3bef Mount ONL-BOOT read-write by default. 2016-05-20 00:07:26 +00:00
Carl D. Roth
8d27402a3d loader init files depend on onl-vendor-config-onl 2016-05-19 11:30:20 -07:00
Carl D. Roth
ea375379db Deprecate initnetdev
- moved to onl-vendor-config-onl
- onl-loader-initscripts is now deprecated
2016-05-18 18:47:58 -07:00
Carl D. Roth
27c18755db Deprecated /etc/onl/mounts, /etc/onl/net
- also make the platform boot hooks optional
2016-05-18 12:52:17 -07:00
Carl D. Roth
ea201e8729 Deprecated in favor of onl-vendor-config-onl versions 2016-05-18 12:51:46 -07:00
Carl D. Roth
4946198b5e Include initnetdev and initubootenv in loader init 2016-05-17 19:21:47 -07:00
Jeffrey Townsend
76ed0a772c Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	builds/any/rootfs/jessie/common/common-packages.yml
	builds/any/rootfs/wheezy/common/common-packages.yml
2016-05-16 14:18:18 -07:00
Carl D. Roth
19a8e75036 Optionally mount tmpfs within the loader
- XXX DANGER @jnealtowns be advised
2016-05-11 13:57:22 -07:00
Carl D. Roth
9127a94cf5 Add python compatibility path for debian-derived installs 2016-05-06 11:05:37 -07:00
Jeffrey Townsend
2640aec6d8 ONL-CONFIG datastore and PKI infrastructure. 2016-04-21 01:00:04 +00:00
Jeffrey Townsend
16284d277f Run pki --init 2016-04-21 00:58:55 +00:00
Jeffrey Townsend
889d8d7282 The ONL-CONFIG partition should not be mounted. 2016-04-21 00:58:05 +00:00
Jeffrey Townsend
c9ba39388d Updates for new partition layout and mount management. 2016-04-13 18:37:24 -07:00
Jeffrey Townsend
a920b9ae63 Loader mount policies. 2016-04-13 18:36:54 -07:00
Jeffrey Townsend
686624abab - Clean up architecture handling.
- Add ARM support.
2016-04-03 15:43:33 -07:00
Steven Noble
9fb5989b90 Updated boot1 to support overlay and overlayfs 2016-01-05 21:57:57 +00:00
Jeffrey Townsend
9c17de57b3 Remove confusing message. 2015-12-18 13:46:24 -08:00
Jeffrey Townsend
0588bce5b0 Include bootmodes. 2015-12-11 21:32:05 +00:00
Jeffrey Townsend
45dee0c608 Initial. 2015-11-19 22:45:38 +00:00