mirror of
https://github.com/BioArchLinux/wsl.git
synced 2025-03-10 06:33:59 +00:00
add: laucher, close #1
This commit is contained in:
parent
c37224b56e
commit
116e5eae63
3 changed files with 8 additions and 5 deletions
BIN
BioArch.exe
Normal file
BIN
BioArch.exe
Normal file
Binary file not shown.
|
@ -6,12 +6,11 @@ Download [wsl tar file](https://repo.bioarchlinux.org/wsl) from [any mirror](htt
|
||||||
|
|
||||||
## Import to WSL
|
## Import to WSL
|
||||||
|
|
||||||
You have to enable wsl first. Specific a `StoragePath` and run the following command under the tar file directory.
|
You have to enable wsl first.
|
||||||
|
|
||||||
```
|
- decompress the tar file
|
||||||
wsl --import BioArchLinux StoragePath .\bioarchlinux.tar
|
- click the `BioArch.exe`
|
||||||
wsl -d BioArchLinux
|
|
||||||
```
|
|
||||||
## Choose mirror
|
## Choose mirror
|
||||||
|
|
||||||
then you need to choose a mirror of archlinux and bioarchlinux
|
then you need to choose a mirror of archlinux and bioarchlinux
|
||||||
|
|
|
@ -8,6 +8,10 @@ git pull
|
||||||
|
|
||||||
rm -rf /usr/share/lilac/Repo/wsl/*
|
rm -rf /usr/share/lilac/Repo/wsl/*
|
||||||
|
|
||||||
|
mv bioarchlinux-$(date "+%Y%m%d").tar rootfs.tar
|
||||||
|
gzip rootfs.tar
|
||||||
|
tar czvf ./bioarchlinux-$(date "+%Y%m%d").tar --add-file=BioArch.exe --add-file=rootfs.tar.gz
|
||||||
|
|
||||||
for bin in $(pacman -Ql coreutils | grep 'sum$' | sed 's/\// /g' | awk '{print $4}')
|
for bin in $(pacman -Ql coreutils | grep 'sum$' | sed 's/\// /g' | awk '{print $4}')
|
||||||
do
|
do
|
||||||
$bin bioarchlinux-$(date "+%Y%m%d").tar > bioarchlinux-$(date "+%Y%m%d").tar.$bin
|
$bin bioarchlinux-$(date "+%Y%m%d").tar > bioarchlinux-$(date "+%Y%m%d").tar.$bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue