1
0
mirror of https://github.com/rancher/os.git synced 2025-09-21 02:19:48 +00:00

Initiate Burmilla OS project

- Use burmilla GitHub repos
- Release under burmilla Docker Hub
- GitHub action for create releases
- Updated boot image and login banner
- Use Debian as default console
- Updated system-cron to v0.5.0
- Updated services to latest versions
- Bump up kernel to 4.14.206
- Include burmilla/os-debianconsole:v1.9.0 to initrd
This commit is contained in:
Olli Janatuinen
2020-11-14 19:21:38 +02:00
parent b3d0b298c5
commit 872f1cd6da
207 changed files with 721 additions and 1027 deletions

View File

@@ -8,10 +8,10 @@ import (
"strings"
"syscall"
"github.com/rancher/os/config"
"github.com/rancher/os/pkg/dfs"
"github.com/rancher/os/pkg/init/fsmount"
"github.com/rancher/os/pkg/log"
"github.com/burmilla/os/config"
"github.com/burmilla/os/pkg/dfs"
"github.com/burmilla/os/pkg/init/fsmount"
"github.com/burmilla/os/pkg/log"
"github.com/docker/docker/pkg/archive"
)
@@ -30,7 +30,7 @@ func SwitchRoot(cfg *config.CloudConfig) (*config.CloudConfig, error) {
func cleanupTarget(rootfs, targetUsr, usr, usrVer, tmpDir string) (bool, error) {
log.Debugf("Deleting %s", targetUsr)
if err := os.Remove(targetUsr); err != nil && !os.IsNotExist(err) {
log.Errorf("Failed to delete %s, possibly invalid RancherOS state partition: %v", targetUsr, err)
log.Errorf("Failed to delete %s, possibly invalid BurmillaOS state partition: %v", targetUsr, err)
return false, err
}