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:
41
components/rfs/templates/index.html
Normal file
41
components/rfs/templates/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Directory listing for /{{ cur_path }}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<h1>Directory listing for <span class="directory">/{{ cur_path }}</span></h1>
|
||||
<hr>
|
||||
|
||||
<ol>
|
||||
{% for file in lister.files %}
|
||||
|
||||
{% if file.is_file %}
|
||||
<li class="item">
|
||||
<a class="file"
|
||||
href="/{{ file.path_uri|urlencode }}"
|
||||
data-src="{{ file.path_uri|urlencode }}"
|
||||
title="{{file.name}} {{ file.last_modified|datetime }}">
|
||||
|
||||
<span class="fa fa-file"></span> {{file.name}}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% else %}
|
||||
<li>
|
||||
<a href="/{{ file.path_uri|urlencode }}/" title="{{ file.last_modified|datetime }}">
|
||||
<span class="fa fa-folder"></span> {{file.name}}/
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</ol>
|
||||
|
||||
<hr>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user