feat: Create minimal Zero-OS initramfs with console support
- Fixed build system to clone source repositories instead of downloading binaries - Enhanced scripts/fetch-github.sh with proper git repo cloning and branch handling - Updated scripts/compile-components.sh for RFS compilation with build-binary feature - Added minimal firmware installation for essential network drivers (73 modules) - Created comprehensive zinit configuration set (15 config files including getty) - Added util-linux package for getty/agetty console support - Optimized package selection for minimal 27MB initramfs footprint - Successfully builds bootable vmlinuz.efi with embedded initramfs - Confirmed working: VM boot, console login, network drivers, zinit init system Components: - initramfs.cpio.xz: 27MB compressed minimal Zero-OS image - vmlinuz.efi: 35MB bootable kernel with embedded initramfs - Complete Zero-OS toolchain: zinit, rfs, mycelium compiled from source
This commit is contained in:
57
components/rfs/templates/base.html
Normal file
57
components/rfs/templates/base.html
Normal file
@@ -0,0 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}{{ title }}{% endblock %}</title>
|
||||
|
||||
<style>
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #4c7883;
|
||||
cursor: pointer;
|
||||
}
|
||||
a:hover, a:hover .directory, a:hover .file {
|
||||
color: #6ea90c;
|
||||
}
|
||||
|
||||
.directory {
|
||||
color:#6ea90c;
|
||||
}
|
||||
|
||||
.file {
|
||||
color: #585a56;
|
||||
}
|
||||
|
||||
#main {
|
||||
width: 60%;
|
||||
max-width: 1600px;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: block;
|
||||
padding: 40px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="main">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
Served with <a href="https://github.com/threefoldtech/rfs">flist-server</a>
|
||||
</footer>
|
||||
|
||||
{% block foot %}{% endblock %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user