feat: provide minimal ubuntu system
This commit is contained in:
parent
a9ed7a1692
commit
f9e9dc08a5
2 changed files with 65 additions and 7 deletions
|
|
@ -38,7 +38,7 @@ stages:
|
|||
- module: exec
|
||||
inputs:
|
||||
- |
|
||||
git clone --revision 8e7e5cb576d751539e5e61a2801e098db2873ffd --depth 1 https://git.ruds.io/rs2009/akshara /akshara
|
||||
git clone --revision 6e2670db89101219fc2f6bfc8be74c556147cdd1 --depth 1 https://git.ruds.io/rs2009/akshara /akshara
|
||||
cd /akshara
|
||||
cp -a usr/lib/akshara /usr/lib/akshara
|
||||
cp -a usr/lib/dracut/modules.d/10akshara /usr/lib/dracut/modules.d/10akshara
|
||||
|
|
@ -49,11 +49,11 @@ post-stages:
|
|||
- module: exec
|
||||
inputs:
|
||||
- locale-gen
|
||||
- rm -f /boot/* &>/dev/null
|
||||
pushd /usr/lib/modules
|
||||
- |
|
||||
rm -f /boot/* &>/dev/null
|
||||
cd /usr/lib/modules
|
||||
kernels=(*)
|
||||
popd
|
||||
cp /usr/lib/modules/"${kernels[0]}"/vmlinuz /boot/vmlinuz-"${kernels[0]}"
|
||||
cp "${kernels[0]}"/vmlinuz /boot/vmlinuz-"${kernels[0]}"
|
||||
- dracut --force --regenerate-all
|
||||
|
||||
override:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue