Commit Graph

540 Commits

Author SHA1 Message Date
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
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
Carl D. Roth
ea201e8729 Deprecated in favor of onl-vendor-config-onl versions 2016-05-18 12:51:46 -07:00
Carl D. Roth
8e1fd141c1 Added proper YML config for AS5512 2016-05-18 12:39:53 -07:00
Carl D. Roth
f7965da994 Fixed broken config for AS5812 2016-05-18 12:39:35 -07:00
Carl D. Roth
5624b49d50 Deprecate /etc/onl/net, /etc/onl/mounts, /etc/fw_env.config 2016-05-17 19:26:01 -07:00
Carl D. Roth
10cd3f6abd Include u-boot and interface configs for all platforms 2016-05-17 19:25:05 -07:00
Carl D. Roth
c5febda73d Include sample configs for fw_env.config and interface name mappings
- default mapping (eth0 --> ma1) should just work
2016-05-17 19:23:31 -07:00
Carl D. Roth
4946198b5e Include initnetdev and initubootenv in loader init 2016-05-17 19:21:47 -07:00
Carl D. Roth
6f5361ca9d Canonicalize ma1 based on OnlPlatform data 2016-05-17 19:21:25 -07:00
Carl D. Roth
b928972521 Initialize /etc/fw_env.config from OnlPlatform data 2016-05-17 19:20:58 -07:00
Jeffrey Townsend
3646da03a3 The new-hotness installer is now the regular-hotness installer. 2016-05-16 16:55:18 -07:00
Jeffrey Townsend
4f56199c35 The new-hotness installer is now the regular-hotness installer. 2016-05-16 23:47:15 +00:00
Jeffrey Townsend
7d2a8b48ec Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-05-16 23:38:24 +00:00
Jeffrey Townsend
918e43ac94 New onlp_ledi_char_set(). 2016-05-16 23:38:11 +00:00
Jeffrey Townsend
7783d7bb18 Support LED Character Devices
- Set ONLP_LED_CAP_CHAR to support a character display.
- Implement onlp_ledi_char_set().
- Add the when implementing onlp_ledi_info_get().
2016-05-16 23:37:04 +00:00
Jeffrey Townsend
e07bbc3ad4 Merge pull request #81 from jnealtowns/master
New Installer Architecture
2016-05-16 16:33:01 -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
Jeffrey Townsend
40ae15f0aa Merge pull request #79 from sonoble/318_update
updated 3.18 kernel to include AUFS and other options
2016-05-16 13:55:02 -07:00
Jeffrey Townsend
8f941b255b Merge pull request #78 from Lewis-Kang/master
support installing NOS to where ONIE image resides while block device is not specified
2016-05-16 13:54:47 -07:00
Carl D. Roth
b7c148efcd installer fixes for arm
- Fixed arch typo
2016-05-16 11:51:04 -07:00
Carl D. Roth
d67d6d97b7 installer fixes for amd64
- unmount filesystems before the chroot
2016-05-16 11:44:21 -07:00
Carl D. Roth
0e6f10c92a Minor installer fixes
- handle powerpc architecture renames
- pass --force flag for GPT installs
2016-05-13 11:54:29 -07:00
Carl D. Roth
e11a5bd0cd Propagate the '--force' flag properly 2016-05-13 11:53:57 -07:00
Carl D. Roth
1d19e6fd66 Fixed conditional for arch test 2016-05-13 11:32:49 -07:00
Carl D. Roth
082789b012 Back out onlyaml rewrite to another branch 2016-05-13 10:20:46 -07:00
Steven Noble
bac2e2cdc1 updated 3.18 kernel to include AUFS and other options 2016-05-13 05:17:07 +00:00
Lewis Kang
2c74660aa9 if error -> exit 1 2016-05-13 11:18:19 +08:00
Lewis Kang
04414276f3 modify the comment and error message 2016-05-13 09:38:32 +08:00