Commit Graph

574 Commits

Author SHA1 Message Date
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
14870ac7b7 Build directory-based installers
- move default installer to 'swi' directory
- add BOOTMODE salt to deb and installer name
2016-05-26 14:07:33 -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
d72cfb61a0 Added HostInfo parser to help with IPv6 addresses and authentiation creds 2016-05-25 11:13:45 -07:00
Carl D. Roth
aacb668932 Don't remount the filesystem if it is the root filesystem 2016-05-25 11:13:45 -07:00
Carl D. Roth
912602b697 Set hostDir to None to skip cleanup 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
660fb3a746 Use ONLPM_OPTION_REPO as the base local repository. 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
f0fb870dc8 Init at INFO. 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
711fbacd65 Import from ONLP Repository. 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
c568351d91 Remove comments. 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
0b7e38ec89 Latest 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
1e570f95d5 Fix connection configuration. 2016-05-25 11:13:45 -07:00
Jeffrey Townsend
37372b322e Rename the legacy installer as such.
If will be removed once the new installers are fully qualified on all platforms.
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
Carl D. Roth
f35d58a69c Spray and pray! Everything is eth0, right?
- stub out syspath entries for network devices
- assume that each platform boots with eth0
2016-05-25 11:13:45 -07:00
Steven Noble
5141acb92e add default RELEASE directory to setup.env (#85) 2016-05-23 14:13:34 -07:00
Steven Noble
58ec3fadbf updated install.sh to reference new location of version files (#84) 2016-05-23 12:05:40 -07:00
Jeffrey Townsend
3727a226e7 Latest 2016-05-20 16:52:24 +00:00
Jeffrey Townsend
6eab05f1de initdev -> initmounts 2016-05-20 16:49:30 +00:00
Jeffrey Townsend
b78a912292 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-05-20 14:55:25 +00:00
Jeffrey Townsend
5a9fe10b10 Merge pull request #83 from carlroth/master
Latest onl installer rollup
2016-05-20 07:53:46 -07:00
Jeffrey Townsend
3174eb6db1 Make the RELEASE directory customizable. 2016-05-20 14:53:45 +00:00
Jeffrey Townsend
89a4fe3f24 Version files have moved. 2016-05-20 14:29:41 +00:00
Jeffrey Townsend
e9facee6c4 Add new LED mode AUTO_BLINKING. 2016-05-20 14:28:35 +00:00
Jeffrey Townsend
4bfad168fb Include the version files contents as PKG variables. 2016-05-20 01:25:48 +00:00
Jeffrey Townsend
9057eb80e2 Version files moved. 2016-05-20 01:25:36 +00:00
Jeffrey Townsend
dd93bf58bd Version ignore. 2016-05-20 00:12:18 +00:00
Jeffrey Townsend
f7e3d54e72 Removed. 2016-05-20 00:11:43 +00:00
Jeffrey Townsend
70327a396e Generate the version files if necessary.
This is to support inclusion in a superproject which does not use the local setup.env.
2016-05-20 00:10:26 +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
Jeffrey Townsend
4158ab47c8 - Move version files to versions directory.
- Remove ENV_JSON option in favor of explicit includes in necessary packages files.
2016-05-20 00:03:32 +00:00
Jeffrey Townsend
1cd5a85fd9 Add YAML output files. 2016-05-20 00:02:59 +00:00
Jeffrey Townsend
25d59308d7 Merge pull request #82 from cglewis/master
small typo
2016-05-19 13:00:02 -07: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
3f5e708161 Spray and pray! Everything is eth0, right?
- stub out syspath entries for network devices
- assume that each platform boots with eth0
2016-05-18 18:49:34 -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
Charlie Lewis
929234b9ed small typo 2016-05-18 15:40:43 -07:00
Carl D. Roth
76eb1099d9 Updatef for review feedback 2016-05-18 13:30:42 -07:00
Carl D. Roth
b232b0946a Deprecated legacy install files for ppc and arm 2016-05-18 13:13:27 -07:00
Carl D. Roth
19bdb4d72e Deprecated per-platform grub.cfg, boot shell hooks, legacy install config 2016-05-18 12:59: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