Skip to content

Commit 8fb9b97

Browse files
Copilot0xrinegade
andcommitted
Fix ISO workflow profiledef.sh issue and replace emojis with DOS-style pixel icons
Co-authored-by: 0xrinegade <[email protected]>
1 parent ca7bbf2 commit 8fb9b97

File tree

4 files changed

+309
-40
lines changed

4 files changed

+309
-40
lines changed

.github/workflows/build-iso.yml

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,23 @@ jobs:
7676
cd iso-build
7777
7878
# Download archiso profile
79-
git clone https://gitlab.archlinux.org/archlinux/archiso.git
80-
cp -r archiso/configs/releng archiso-${{ matrix.arch }}
79+
git clone https://gitlab.archlinux.org/archlinux/archiso.git --depth 1
80+
81+
# Verify archiso was cloned successfully
82+
if [ ! -d "archiso/configs/releng" ]; then
83+
echo "Failed to clone archiso repository or releng config not found"
84+
exit 1
85+
fi
86+
87+
# Copy archiso profile
88+
cp -r archiso/configs/releng/* archiso-${{ matrix.arch }}/
89+
90+
# Verify profiledef.sh was copied
91+
if [ ! -f "archiso-${{ matrix.arch }}/profiledef.sh" ]; then
92+
echo "profiledef.sh not found after copy operation"
93+
ls -la archiso-${{ matrix.arch }}/
94+
exit 1
95+
fi
8196
8297
# Create custom packages list including OSVMarchi dependencies
8398
cat > archiso-${{ matrix.arch }}/packages.x86_64 << 'EOF'
@@ -209,11 +224,22 @@ jobs:
209224
run: |
210225
cd iso-build/archiso-${{ matrix.arch }}
211226
227+
# Verify profiledef.sh exists before modification
228+
if [ ! -f profiledef.sh ]; then
229+
echo "profiledef.sh not found. Aborting build."
230+
ls -la .
231+
exit 1
232+
fi
233+
212234
# Update profile configuration
213235
sed -i "s/iso_name=\"archlinux\"/iso_name=\"osvmarchi-${{ matrix.name }}\"/" profiledef.sh
214236
sed -i "s/iso_label=\"ARCH_.*\"/iso_label=\"OSVMARCHI_${{ matrix.arch }}\"/" profiledef.sh
215-
sed -i "s/iso_publisher=\"Arch Linux <https:\/\/archlinux.org>\"/iso_publisher=\"OSVMarchi <https:\/\/osvm.archi>\"/" profiledef.sh
216-
sed -i "s/iso_application=\"Arch Linux Live\/Rescue CD\"/iso_application=\"OSVMarchi Live\/Install CD - ${{ matrix.name }}\"/" profiledef.sh
237+
sed -i "s|iso_publisher=\"Arch Linux <https://archlinux.org>\"|iso_publisher=\"OSVMarchi <https://osvm.archi>\"|" profiledef.sh
238+
sed -i "s|iso_application=\"Arch Linux Live/Rescue DVD\"|iso_application=\"OSVMarchi Live/Install CD - ${{ matrix.name }}\"|" profiledef.sh
239+
240+
# Verify modifications were applied
241+
echo "Modified profiledef.sh contents:"
242+
grep -E "(iso_name|iso_label|iso_publisher|iso_application)" profiledef.sh
217243
218244
# Set version
219245
echo "$(date +%Y.%m.%d)-${{ matrix.name }}" > airootfs/etc/osvmarchi-version

docs/assets/css/dos-icons.css

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
/* DOS-Style Pixel Icons */
2+
.dos-icon {
3+
display: inline-block;
4+
font-family: 'Courier New', monospace;
5+
font-size: 12px;
6+
line-height: 1;
7+
width: 16px;
8+
height: 16px;
9+
text-align: center;
10+
vertical-align: middle;
11+
border: 1px solid #c0c0c0;
12+
background: #008080;
13+
color: #ffffff;
14+
font-weight: bold;
15+
margin-right: 4px;
16+
}
17+
18+
/* Specific icon styles */
19+
.dos-icon.home {
20+
background: #800000;
21+
color: #ffff00;
22+
}
23+
24+
.dos-icon.home::before {
25+
content: "H";
26+
}
27+
28+
.dos-icon.downloads {
29+
background: #000080;
30+
color: #00ffff;
31+
}
32+
33+
.dos-icon.downloads::before {
34+
content: "D";
35+
}
36+
37+
.dos-icon.documentation {
38+
background: #008000;
39+
color: #ffffff;
40+
}
41+
42+
.dos-icon.documentation::before {
43+
content: "?";
44+
}
45+
46+
.dos-icon.features {
47+
background: #800080;
48+
color: #ffff00;
49+
}
50+
51+
.dos-icon.features::before {
52+
content: "*";
53+
}
54+
55+
.dos-icon.installation {
56+
background: #808000;
57+
color: #ffffff;
58+
}
59+
60+
.dos-icon.installation::before {
61+
content: "I";
62+
}
63+
64+
.dos-icon.github {
65+
background: #404040;
66+
color: #00ff00;
67+
}
68+
69+
.dos-icon.github::before {
70+
content: "G";
71+
}
72+
73+
.dos-icon.folder {
74+
background: #000080;
75+
color: #ffff00;
76+
}
77+
78+
.dos-icon.folder::before {
79+
content: "▶";
80+
}
81+
82+
.dos-icon.content {
83+
background: #008080;
84+
color: #ffffff;
85+
}
86+
87+
.dos-icon.content::before {
88+
content: "≡";
89+
}
90+
91+
.dos-icon.iso {
92+
background: #800080;
93+
color: #00ffff;
94+
}
95+
96+
.dos-icon.iso::before {
97+
content: "©";
98+
}
99+
100+
.dos-icon.computer {
101+
background: #008000;
102+
color: #ffffff;
103+
}
104+
105+
.dos-icon.computer::before {
106+
content: "█";
107+
}
108+
109+
.dos-icon.processor {
110+
background: #800000;
111+
color: #ffff00;
112+
}
113+
114+
.dos-icon.processor::before {
115+
content: "µ";
116+
}
117+
118+
.dos-icon.server {
119+
background: #000080;
120+
color: #00ff00;
121+
}
122+
123+
.dos-icon.server::before {
124+
content: "≣";
125+
}
126+
127+
.dos-icon.workstation {
128+
background: #808000;
129+
color: #ffffff;
130+
}
131+
132+
.dos-icon.workstation::before {
133+
content: "╬";
134+
}
135+
136+
.dos-icon.download {
137+
background: #008000;
138+
color: #ffff00;
139+
}
140+
141+
.dos-icon.download::before {
142+
content: "↓";
143+
}
144+
145+
.dos-icon.view {
146+
background: #800080;
147+
color: #00ffff;
148+
}
149+
150+
.dos-icon.view::before {
151+
content: "○";
152+
}
153+
154+
/* Action button icons */
155+
.btn-icon {
156+
display: inline-block;
157+
font-family: 'Courier New', monospace;
158+
font-size: 10px;
159+
width: 12px;
160+
height: 12px;
161+
text-align: center;
162+
vertical-align: middle;
163+
margin-right: 4px;
164+
font-weight: bold;
165+
}
166+
167+
.btn-icon.download::before {
168+
content: "↓";
169+
}
170+
171+
.btn-icon.github::before {
172+
content: "G";
173+
}
174+
175+
/* Panel title icons */
176+
.panel-title-icon {
177+
display: inline-block;
178+
font-family: 'Courier New', monospace;
179+
font-size: 10px;
180+
width: 12px;
181+
height: 12px;
182+
text-align: center;
183+
vertical-align: middle;
184+
margin-right: 4px;
185+
font-weight: bold;
186+
color: #ffff00;
187+
}
188+
189+
.panel-title-icon.folder::before {
190+
content: "▶";
191+
}
192+
193+
.panel-title-icon.content::before {
194+
content: "≡";
195+
}
196+
197+
/* ISO grid icons */
198+
.iso-icon {
199+
display: inline-block;
200+
font-family: 'Courier New', monospace;
201+
font-size: 16px;
202+
width: 20px;
203+
height: 20px;
204+
text-align: center;
205+
vertical-align: middle;
206+
border: 1px solid #c0c0c0;
207+
background: #008080;
208+
color: #ffffff;
209+
font-weight: bold;
210+
margin-right: 8px;
211+
}
212+
213+
.iso-icon.generic::before {
214+
content: "█";
215+
color: #00ffff;
216+
}
217+
218+
.iso-icon.amd::before {
219+
content: "A";
220+
color: #ff0000;
221+
}
222+
223+
.iso-icon.zen4::before {
224+
content: "4";
225+
color: #00ff00;
226+
}
227+
228+
.iso-icon.zen5::before {
229+
content: "5";
230+
color: #ffff00;
231+
}
232+
233+
.iso-icon.epyc::before {
234+
content: "E";
235+
color: #ff00ff;
236+
}
237+
238+
.iso-icon.threadripper::before {
239+
content: "T";
240+
color: #00ffff;
241+
}

docs/assets/css/far-style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* FAR Manager Style CSS */
2+
@import url('dos-icons.css');
3+
24
:root {
35
--bg-primary: #000080;
46
--bg-secondary: #008080;

0 commit comments

Comments
 (0)