commit abd4913099b1488a8cc8f1861cf5f26f4a40cd5b Author: slitaz-cn Date: Tue Feb 9 08:31:18 2021 +0800 Initial commit diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..19b24a5 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,160 @@ +# This is a basic workflow to help you get started with Actions + +name: slitaz-5.0 +#on: +# push: +# branches: +# - main +# schedule: +# - cron: 0 20 1 * * +# release: +# types: [published] +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - '*' + release: + types: [published] + +jobs: + + build: + + name: 自动汉化并封装每周官方映像 + + runs-on: ubuntu-20.04 + + if: github.event.repository.owner.id == github.event.sender.id + + steps: + + - name: Checkout + uses: actions/checkout@v2 + + - name: Space cleanup + env: + DEBIAN_FRONTEND: noninteractive + run: | + docker rmi `docker images -q` + sudo -E apt-get update + sudo -E apt-get -y install zip unzip genisoimage p7zip-full p7zip-rar + sudo -E apt-get -y autoremove --purge + sudo -E apt-get clean + + - name: download iso and unzip iso + run: | + wget http://ftp.uni-stuttgart.de/slitaz/iso/rolling/slitaz-rolling-core64.iso + mkdir iso-old + 7z x slitaz-rolling-core64.iso -y -r -o./iso-old + wget http://ecoo.top:8083/dl/slitaz/iso/rolling/slitaz5-core64-cn-with-docker.iso + wget -O ./packages/teasiu-5.0.tazpkg http://ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg + wget -O ./packages/updatetime.txt http://ecoo.top:8083/dl/slitaz/iso/rolling/slitaz-rolling-core64-chinese-updatetime.txt + + + - name: download iso32 and unzip iso32 + run: | + wget http://distro.ibiblio.org/slitaz/iso/rolling/slitaz-rolling-core.iso + mkdir iso-old32 + 7z x slitaz-rolling-core.iso -y -r -o./iso-old32 + + - name: docker build a new rootfs64 + run: | + docker build -t newrootfs -f ./dockerfile-rootfs64 . + + - name: copy rootfs.gz outside of docker + run: | + docker run --name myrootfs newrootfs + docker cp myrootfs:/tmp/rootfs-new.gz ./iso64/mkiso/rootfs.gz + cd ./iso64 + sh iso.sh + cd ../ + + - name: docker build a new rootfs32 + run: | + docker build -t newrootfs32 -f ./dockerfile-rootfs32 . + + - name: copy rootfs32.gz outside of docker + run: | + docker run --name myrootfs32 newrootfs32 + docker cp myrootfs32:/tmp/rootfs-new.gz ./iso32/mkiso/rootfs.gz + cd ./iso32 + sh iso.sh + + - name: Prepare artifact + run: | + mkdir -p slitaz-artifact + cp -a ./slitaz5.0-rolling-core64-cn.iso slitaz-artifact/ + cp -a ./slitaz5.0-rolling-core32-cn.iso slitaz-artifact/ + cp -a ./slitaz5-core64-cn-with-docker.iso slitaz-artifact/ + + - name: Deliver package + uses: actions/upload-artifact@v2 + with: + name: slitaz5-rolling-core64 + path: slitaz-artifact/ + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + + - name: Upload Release Asset2 + id: upload-release-asset2 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./slitaz5.0-rolling-core32-cn.iso + asset_name: slitaz5.0-rolling-core32-cn.iso + asset_content_type: application/iso + + - name: Upload Release Asset3 + id: upload-release-asset3 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./slitaz5-core64-cn-with-docker.iso + asset_name: slitaz5-core64-cn-with-docker.iso + asset_content_type: application/iso + + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./slitaz5.0-rolling-core64-cn.iso + asset_name: slitaz5.0-rolling-core64-cn.iso + asset_content_type: application/iso + + slitaz: + runs-on: ubuntu-20.04 + needs: [build] + steps: + - name: Download a single artifact + uses: actions/download-artifact@v2 + with: + name: slitaz5-rolling-core64 + path: slitaz-artifact/ + - name: Upload to SourceForge + run: | + echo "$DEPLOY_KEY" > $HOME/deploy_key + cat $HOME/deploy_key + set -ex + chmod 600 $HOME/deploy_key + Localslitaz=`ls -d slitaz-artifact` + Remoteslitaz=teasiu@frs.sourceforge.net:/home/frs/project/slitaz/slitaz5-rolling-core64 + rsync -e "ssh -i $HOME/deploy_key -oStrictHostKeyChecking=no -oBatchMode=yes" -va --delete $Localslitaz/*.iso $Remoteslitaz + env: + DEPLOY_KEY: ${{ secrets.TEASIU }} diff --git a/README.md b/README.md new file mode 100644 index 0000000..36dde11 --- /dev/null +++ b/README.md @@ -0,0 +1,63 @@ +# slitaz5cn +神雕定制slitaz中文版 +
Slitaz 是一个免费小巧的GNU/Linux发行版。它可以从光盘或USB设备加载,完整地在内存中运行,也可以安装到硬盘中。 +
Slitaz以LiveCD的形式 发布,您可以把它刻录到光盘,并从光盘启动。你也可以将它与其它例如win-pe🈴盘。 +
LiveCD提供一个特色十足的、图形界面的发行 版,可以保存您的数据和个人设置到其他设备中。 +
这个系统可以通过Tazpkg软件包管理器添加软件来增加各种各样的功能,也可以用它升级系统来保持系统最 安全、最新. +# 支持自主定制 +
制作了新型定制办法,定制方法已经在源码中说明,请参照自主定制属于你的slitaz。 +
+# 使用 +
请仔细阅读下面这段定制说明。 +
+
1. 根据官方每周固件进行中文定制。最新版本silitaz5.0-rolling-core64-chinese.iso +
如果你的电脑内存超过4G,请使用64位。低于4G,请使用32位(32位无法识别超过4G的内存)。 +
2. 管理账号root密码root,用户账号tux密码为tux +
3. 启动和安装 +
支持各种引导开机,grub4dos,grub2,syslinux,支持efi启动。 +
可以安装到U盘随身启动,也可以和其他pe合盘。 +
可以安装到硬盘也可以网络pxe启动。 +
启动代码请自行在你的启动菜单添加使用: +
【 root=/dev/null video=-32 lang=zh_CN kmap=us tz=Asia/Shanghai autologin 】 +
4. 内置中文输入法,支持拼音,五笔等,ctrl+空格切换开关,shift切换中英文输入。 +
5. 内置神雕的国内软件源地址,自动从国内源下载和更新软件包。 +
6. 国内源镜像http://ecoo.top:8083/dl/slitaz/iso/rolling +
7. 增加sudo加权功能,在命令前sudo即可使用管理权限。 +
8. 增加著名的诺顿精灵GHOST。可用于系统备份维护。 +
9. 内置gpartd磁盘分区格式程序,可用于电脑硬件维护。 +
10. 内置tazpanel,可查看系统硬件环境,软件环境,启动参数等。 +
11. 内置5000多个软件安装包的在线安装程序,可以自由安装。 +
12. 已添加虚拟机桌面驱动,可以在虚拟机中显示桌面。 +
13. 已添加ssh启动,可远程ssh登陆。(dropbear) +
远程登录账号tux密码tux,登陆后sudo可提权。 +
14. 已添加gftp软件。另外,自带的busybox的ftpput和ftpget命令也集成。 +
15. 集成了transmission BT远程下载并安装最新web-ctrl,远程登陆账号tux密码tux。 +
16. 集成vlmcsd最新版的KMS服务器,远程激活windows。 +
17. 集成一键开启samba3.6版网络文件共享服务 +
支持在文件管理器输入smb://192.168.1.1访问网络共享 +
支持挂载openwrt和synology群晖网络存储空间, +
sudo mount.cifs //192.168.1.1/usb /mnt/ -o vers=2.0 +
sudo mount.cifs -o username=admin,password=passwd, +
rw,forceuid=nobody,forcegid=nogroup,dir_mode=0777,file_mode=0777,vers=2.0 +
//192.168.111.2/volume1/files /mnt +
18. 内置fbinst软件,可使用命令行各种骚操作。 +
19. 编译定制了专用火狐浏览器中文版,支持online自动安装。 +
修复输入法在火狐浏览器下的使用。 +
20. 修复了解压缩软件并添加了中文。修复 rar && unrar +
21. 内置git-server服务器,让你随时随地白嫖免费的高速上传下载空间。 +
作为一个系统玩家,这个特别实用哦。 +
详见内置文档白嫖5GB仓库指南使用教程。 +
22. 添加了安装到硬盘的脚本,支持一键安装slitaz系统到本地硬盘。 +
安装到硬盘后,请将/etc/init.d/system.sh最后某行 +
echo "tux:tux" | chpasswd删除。便以你修改登录密码生效。 +
23. 添加了axel多线程下载软件,直接在终端 (axel n 10 下载地址)就是10线程下载。 +
24. 添加rsync备份神器。 +
25. 添加了很多的小工具,在我的文档文件夹内。 +
项目下载地址更新为(三处同步更新): +
https://github.com/teasiu/slitaz5cn +
https://sourceforge.net/projects/slitaz/ +
http://ecoo.top:8083 (推荐) + +
+
+ diff --git a/dockerfile-rootfs32 b/dockerfile-rootfs32 new file mode 100644 index 0000000..d30e53b --- /dev/null +++ b/dockerfile-rootfs32 @@ -0,0 +1,17 @@ +# We're using a multistage Docker build here in order to allow us to release a self-verifying + +FROM slitazcn/slitaz-5.0-base +COPY ./iso-old32/boot/rootfs.gz ./packages/* ./ +RUN mkdir -p /tmp/rootfs && \ + ls -l && \ + mv rootfs.gz /tmp/rootfs && \ + cd /tmp/rootfs && \ + (zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id && \ + rm rootfs.gz && \ + cd / && \ + ls -l && \ + sh /gen-slitaz32.sh && \ + cd /tmp/rootfs && \ + ls -l && \ + find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs-new.gz + diff --git a/dockerfile-rootfs64 b/dockerfile-rootfs64 new file mode 100644 index 0000000..d3c73b0 --- /dev/null +++ b/dockerfile-rootfs64 @@ -0,0 +1,25 @@ +# We're using a multistage Docker build here in order to allow us to release a self-verifying +# Docker image when built on the official Docker infrastructure. +# They require us to verify the source integrity in some way while making sure that this is a +# reproducible build. +# See https://github.com/docker-library/official-images#image-build +# In order to achieve this, we externally host the rootfs archives and their checksums and then +# just download and verify it in the first stage of this Dockerfile. +# The second stage is for actually configuring the system a little bit. +# Some templating is done in order to allow us to easily build different configurations and to +# allow us to automate the releaes process.tazpkg install ghost-5.0.1.tazpkg --root=$ISO_PATH/rootfs --nodeps --local + +FROM slitazcn/slitaz-5.0-base +COPY ./iso-old/boot/rootfs.gz ./packages/* ./ +RUN mkdir -p /tmp/rootfs && \ + ls -l && \ + mv rootfs.gz /tmp/rootfs && \ + cd /tmp/rootfs && \ + (zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so) | cpio -id && \ + rm rootfs.gz && \ + cd / && \ + sh /gen-slitaz64.sh && \ + cd /tmp/rootfs && \ + ls -l && \ + find . -print | cpio -o -H newc | lzma e -si -so > ../rootfs-new.gz + diff --git a/iso32/iso.sh b/iso32/iso.sh new file mode 100755 index 0000000..3e44bef --- /dev/null +++ b/iso32/iso.sh @@ -0,0 +1,4 @@ +#!/bin/sh +genisoimage -r -T -J -V "Slitaz_ISO" -b winly.bin -c boot.cat -no-emul-boot -boot-load-size 4 \ + -boot-info-table -eltorito-alt-boot -e efiboot.img -no-emul-boot -v -o ../slitaz5.0-rolling-core32-cn.iso ./mkiso + diff --git a/iso32/mkiso/bzImage b/iso32/mkiso/bzImage new file mode 100644 index 0000000..2f7f3a9 Binary files /dev/null and b/iso32/mkiso/bzImage differ diff --git a/iso32/mkiso/efi/boot/bootx64.efi b/iso32/mkiso/efi/boot/bootx64.efi new file mode 100644 index 0000000..e87e112 Binary files /dev/null and b/iso32/mkiso/efi/boot/bootx64.efi differ diff --git a/iso32/mkiso/efiboot.img b/iso32/mkiso/efiboot.img new file mode 100644 index 0000000..40892c5 Binary files /dev/null and b/iso32/mkiso/efiboot.img differ diff --git a/iso32/mkiso/ipxe.lkrn b/iso32/mkiso/ipxe.lkrn new file mode 100644 index 0000000..fbb7ea4 Binary files /dev/null and b/iso32/mkiso/ipxe.lkrn differ diff --git a/iso32/mkiso/winly.bin b/iso32/mkiso/winly.bin new file mode 100644 index 0000000..cff41c8 Binary files /dev/null and b/iso32/mkiso/winly.bin differ diff --git a/iso32/mkiso/winly/slitaz.jpg b/iso32/mkiso/winly/slitaz.jpg new file mode 100644 index 0000000..e7cf837 Binary files /dev/null and b/iso32/mkiso/winly/slitaz.jpg differ diff --git a/iso32/mkiso/winly/themes/winly/TRANS.TBL b/iso32/mkiso/winly/themes/winly/TRANS.TBL new file mode 100644 index 0000000..f52c986 --- /dev/null +++ b/iso32/mkiso/winly/themes/winly/TRANS.TBL @@ -0,0 +1,33 @@ +F BOOT_000.PNG;1 boot_menu_c.png +F BOOT_001.PNG;1 boot_menu_nw.png +F BOOT_002.PNG;1 boot_menu_w.png +F BOOT_003.PNG;1 boot_menu_ne.png +F BOOT_004.PNG;1 boot_menu_sw.png +F BOOT_005.PNG;1 boot_menu_n.png +F BOOT_006.PNG;1 boot_menu_e.png +F BOOT_007.PNG;1 boot_menu_s.png +F BOOT_MEN.PNG;1 boot_menu_se.png +F DEJAV000.PF2;1 dejavu-sans-bold-14.pf2 +F DEJAV001.PF2;1 dejavu-sans-12.pf2 +F DEJAVU_S.PF2;1 dejavu-sans-10.pf2 +D ICONS icons +F PROGR000.PNG;1 progress_c.png +F PROGR001.PNG;1 progress_highlight_c.png +F PROGR002.PNG;1 progress_highlight_w.png +F PROGRESS.PNG;1 progress_highlight_e.png +F SELECT_C.PNG;1 select_c.png +F SELECT_E.PNG;1 select_e.png +F SELECT_W.PNG;1 select_w.png +F SLIDER_C.PNG;1 slider_c.png +F SLITAZ4C.PNG;1 slitaz4cn.png +F TERMI000.PNG;1 terminal_c.png +F TERMI001.PNG;1 terminal_w.png +F TERMI002.PNG;1 terminal_sw.png +F TERMI003.PNG;1 terminal_se.png +F TERMI004.PNG;1 terminal_ne.png +F TERMI005.PNG;1 terminal_s.png +F TERMI006.PNG;1 terminal_n.png +F TERMI007.PNG;1 terminal_e.png +F TERMINAL.PNG;1 terminal_nw.png +F THEME.TXT;1 theme.txt +F WALLPAPE.PNG;1 wallpaper.png diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_c.png b/iso32/mkiso/winly/themes/winly/boot_menu_c.png new file mode 100644 index 0000000..f0b199e Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_c.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_e.png b/iso32/mkiso/winly/themes/winly/boot_menu_e.png new file mode 100644 index 0000000..2315cd1 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_e.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_n.png b/iso32/mkiso/winly/themes/winly/boot_menu_n.png new file mode 100644 index 0000000..82325b3 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_n.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_ne.png b/iso32/mkiso/winly/themes/winly/boot_menu_ne.png new file mode 100644 index 0000000..583b8f7 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_ne.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_nw.png b/iso32/mkiso/winly/themes/winly/boot_menu_nw.png new file mode 100644 index 0000000..2446b1b Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_nw.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_s.png b/iso32/mkiso/winly/themes/winly/boot_menu_s.png new file mode 100644 index 0000000..1069d9c Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_s.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_se.png b/iso32/mkiso/winly/themes/winly/boot_menu_se.png new file mode 100644 index 0000000..c0d854e Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_se.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_sw.png b/iso32/mkiso/winly/themes/winly/boot_menu_sw.png new file mode 100644 index 0000000..3981645 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_sw.png differ diff --git a/iso32/mkiso/winly/themes/winly/boot_menu_w.png b/iso32/mkiso/winly/themes/winly/boot_menu_w.png new file mode 100644 index 0000000..35dd064 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/boot_menu_w.png differ diff --git a/iso32/mkiso/winly/themes/winly/dejavu-sans-10.pf2 b/iso32/mkiso/winly/themes/winly/dejavu-sans-10.pf2 new file mode 100644 index 0000000..8d91b1c Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/dejavu-sans-10.pf2 differ diff --git a/iso32/mkiso/winly/themes/winly/dejavu-sans-12.pf2 b/iso32/mkiso/winly/themes/winly/dejavu-sans-12.pf2 new file mode 100644 index 0000000..54b2bca Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/dejavu-sans-12.pf2 differ diff --git a/iso32/mkiso/winly/themes/winly/dejavu-sans-bold-14.pf2 b/iso32/mkiso/winly/themes/winly/dejavu-sans-bold-14.pf2 new file mode 100644 index 0000000..8db4006 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/dejavu-sans-bold-14.pf2 differ diff --git a/iso32/mkiso/winly/themes/winly/icons/.directory b/iso32/mkiso/winly/themes/winly/icons/.directory new file mode 100644 index 0000000..6f2bae2 --- /dev/null +++ b/iso32/mkiso/winly/themes/winly/icons/.directory @@ -0,0 +1,4 @@ +[Dolphin] +PreviewsShown=true +Timestamp=2012,10,28,1,37,37 +Version=3 diff --git a/iso32/mkiso/winly/themes/winly/icons/TRANS.TBL b/iso32/mkiso/winly/themes/winly/icons/TRANS.TBL new file mode 100644 index 0000000..a42e9e5 --- /dev/null +++ b/iso32/mkiso/winly/themes/winly/icons/TRANS.TBL @@ -0,0 +1,20 @@ +F ARCH.PNG;1 arch.png +F DEBIAN.PNG;1 debian.png +F FEDORA.PNG;1 fedora.png +F GENTOO.PNG;1 gentoo.png +F GNU_LINU.PNG;1 gnu-linux.png +F KUBUNTU.PNG;1 kubuntu.png +F LINUXMIN.PNG;1 linuxmint.png +F LUBUNTU.PNG;1 lubuntu.png +F MANDRIVA.PNG;1 mandrivalinux.png +F OPENSUSE.PNG;1 opensuse.png +F OSX.PNG;1 osx.png +F RECOVERY.PNG;1 recovery.png +F SABAYON.PNG;1 sabayon.png +F SLACKWAR.PNG;1 slackware.png +F SLITAZ.PNG;1 slitaz.png +F SUBMENU.PNG;1 submenu.png +F UBUNTU.PNG;1 ubuntu.png +F WINDOWS.PNG;1 windows.png +F XUBUNTU.PNG;1 xubuntu.png +F _DIRECTO.;1 .directory diff --git a/iso32/mkiso/winly/themes/winly/icons/arch.png b/iso32/mkiso/winly/themes/winly/icons/arch.png new file mode 100644 index 0000000..fbd0131 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/arch.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/debian.png b/iso32/mkiso/winly/themes/winly/icons/debian.png new file mode 100644 index 0000000..962790b Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/debian.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/fedora.png b/iso32/mkiso/winly/themes/winly/icons/fedora.png new file mode 100644 index 0000000..cccdff8 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/fedora.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/gentoo.png b/iso32/mkiso/winly/themes/winly/icons/gentoo.png new file mode 100644 index 0000000..9bbe4d8 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/gentoo.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/gnu-linux.png b/iso32/mkiso/winly/themes/winly/icons/gnu-linux.png new file mode 100644 index 0000000..6db4ad1 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/gnu-linux.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/kubuntu.png b/iso32/mkiso/winly/themes/winly/icons/kubuntu.png new file mode 100644 index 0000000..b545b87 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/kubuntu.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/linuxmint.png b/iso32/mkiso/winly/themes/winly/icons/linuxmint.png new file mode 100644 index 0000000..ff5dd1f Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/linuxmint.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/lubuntu.png b/iso32/mkiso/winly/themes/winly/icons/lubuntu.png new file mode 100644 index 0000000..4320746 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/lubuntu.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/mandrivalinux.png b/iso32/mkiso/winly/themes/winly/icons/mandrivalinux.png new file mode 100644 index 0000000..d86b87d Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/mandrivalinux.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/opensuse.png b/iso32/mkiso/winly/themes/winly/icons/opensuse.png new file mode 100644 index 0000000..5dfb35a Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/opensuse.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/osx.png b/iso32/mkiso/winly/themes/winly/icons/osx.png new file mode 100644 index 0000000..6bf9651 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/osx.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/recovery.png b/iso32/mkiso/winly/themes/winly/icons/recovery.png new file mode 100644 index 0000000..5d53e8b Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/recovery.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/sabayon.png b/iso32/mkiso/winly/themes/winly/icons/sabayon.png new file mode 100644 index 0000000..602c66b Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/sabayon.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/slackware.png b/iso32/mkiso/winly/themes/winly/icons/slackware.png new file mode 100644 index 0000000..e8bbcc8 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/slackware.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/slitaz.png b/iso32/mkiso/winly/themes/winly/icons/slitaz.png new file mode 100644 index 0000000..fbf01e6 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/slitaz.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/submenu.png b/iso32/mkiso/winly/themes/winly/icons/submenu.png new file mode 100644 index 0000000..ef30aa9 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/submenu.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/ubuntu.png b/iso32/mkiso/winly/themes/winly/icons/ubuntu.png new file mode 100644 index 0000000..7484308 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/ubuntu.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/windows.png b/iso32/mkiso/winly/themes/winly/icons/windows.png new file mode 100644 index 0000000..22b42a4 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/windows.png differ diff --git a/iso32/mkiso/winly/themes/winly/icons/xubuntu.png b/iso32/mkiso/winly/themes/winly/icons/xubuntu.png new file mode 100644 index 0000000..7ef5bef Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/icons/xubuntu.png differ diff --git a/iso32/mkiso/winly/themes/winly/progress_c.png b/iso32/mkiso/winly/themes/winly/progress_c.png new file mode 100644 index 0000000..a350b18 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/progress_c.png differ diff --git a/iso32/mkiso/winly/themes/winly/progress_highlight_c.png b/iso32/mkiso/winly/themes/winly/progress_highlight_c.png new file mode 100644 index 0000000..22c86e4 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/progress_highlight_c.png differ diff --git a/iso32/mkiso/winly/themes/winly/progress_highlight_e.png b/iso32/mkiso/winly/themes/winly/progress_highlight_e.png new file mode 100644 index 0000000..12e60ff Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/progress_highlight_e.png differ diff --git a/iso32/mkiso/winly/themes/winly/progress_highlight_w.png b/iso32/mkiso/winly/themes/winly/progress_highlight_w.png new file mode 100644 index 0000000..0876e1e Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/progress_highlight_w.png differ diff --git a/iso32/mkiso/winly/themes/winly/select_c.png b/iso32/mkiso/winly/themes/winly/select_c.png new file mode 100644 index 0000000..b6ce5c8 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/select_c.png differ diff --git a/iso32/mkiso/winly/themes/winly/select_e.png b/iso32/mkiso/winly/themes/winly/select_e.png new file mode 100644 index 0000000..2030242 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/select_e.png differ diff --git a/iso32/mkiso/winly/themes/winly/select_w.png b/iso32/mkiso/winly/themes/winly/select_w.png new file mode 100644 index 0000000..1eb5022 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/select_w.png differ diff --git a/iso32/mkiso/winly/themes/winly/slider_c.png b/iso32/mkiso/winly/themes/winly/slider_c.png new file mode 100644 index 0000000..a81b60c Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/slider_c.png differ diff --git a/iso32/mkiso/winly/themes/winly/slitaz4cn.png b/iso32/mkiso/winly/themes/winly/slitaz4cn.png new file mode 100644 index 0000000..97d6c46 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/slitaz4cn.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_c.png b/iso32/mkiso/winly/themes/winly/terminal_c.png new file mode 100644 index 0000000..00f7c08 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_c.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_e.png b/iso32/mkiso/winly/themes/winly/terminal_e.png new file mode 100644 index 0000000..09fe19f Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_e.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_n.png b/iso32/mkiso/winly/themes/winly/terminal_n.png new file mode 100644 index 0000000..2af622b Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_n.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_ne.png b/iso32/mkiso/winly/themes/winly/terminal_ne.png new file mode 100644 index 0000000..5b6a475 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_ne.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_nw.png b/iso32/mkiso/winly/themes/winly/terminal_nw.png new file mode 100644 index 0000000..1563fc0 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_nw.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_s.png b/iso32/mkiso/winly/themes/winly/terminal_s.png new file mode 100644 index 0000000..1428617 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_s.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_se.png b/iso32/mkiso/winly/themes/winly/terminal_se.png new file mode 100644 index 0000000..ff94d16 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_se.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_sw.png b/iso32/mkiso/winly/themes/winly/terminal_sw.png new file mode 100644 index 0000000..d08a55a Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_sw.png differ diff --git a/iso32/mkiso/winly/themes/winly/terminal_w.png b/iso32/mkiso/winly/themes/winly/terminal_w.png new file mode 100644 index 0000000..3c5b847 Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/terminal_w.png differ diff --git a/iso32/mkiso/winly/themes/winly/theme.txt b/iso32/mkiso/winly/themes/winly/theme.txt new file mode 100644 index 0000000..44f0f95 --- /dev/null +++ b/iso32/mkiso/winly/themes/winly/theme.txt @@ -0,0 +1,59 @@ +# Ubuntu 13.04 GRUB2 theme + +desktop-image: "wallpaper.png" +title-text: "" +terminal-box: "terminal_*.png" +#terminal-font: "Gnu Unifont Mono Regular 16" + ++ boot_menu { + left = 24%-5 + width = 55%+11 + top = 22%-5 + height = 55%+21 + menu_pixmap_style = "boot_menu_*.png" + item_font = "DejaVu Sans Bold 14" + item_color = "#000000" + item_height = 48 + item_icon_space = 8 + item_spacing = 2 + selected_item_font = "DejaVu Sans Bold 14" + selected_item_color= "#FFFFFF" + selected_item_pixmap_style = "select_*.png" + icon_height = 48 + icon_width = 48 + icon_spacing = 25 + scrollbar = true + scrollbar_width = 3 + scrollbar_thumb = "slider_*.png" +} + ++ progress_bar { + id = "__timeout__" + left = 20% + top = 80%+15 + height = 20 + width = 65% + font = "DejaVu Sans Regular 12" + text_color = "#333333" + text = "默认选项系统将在 %d 秒后启动,按任意键可终止..." + bar_style = "progress_*.png" + highlight_style = "progress_highlight_*.png" +} + +# The Ubuntu 13.04/Raring Ringtail logo image. ++ image { + top = 100%-140 + left = 100%-350 + width = 350 + hight = 140 + file = "slitaz4cn.png" +} + +# The navigation instructions ++ vbox { + left = 5% + top = 90% + + label { text = "- 按上下键选择高亮菜单,按回车键启动" color = "#ADA9A5" font = "DejaVu Sans Regular 12" } + + label { text = "- 按 'e' 键编辑所选菜单的命令行" color = "#ADA9A5" font = "DejaVu Sans Regular 12" } + + label { text = "- 按 'c' 进入程序命令行" color = "#ADA9A5" font = "DejaVu Sans Regular 12" } +} diff --git a/iso32/mkiso/winly/themes/winly/wallpaper.png b/iso32/mkiso/winly/themes/winly/wallpaper.png new file mode 100644 index 0000000..ba79dda Binary files /dev/null and b/iso32/mkiso/winly/themes/winly/wallpaper.png differ diff --git a/iso32/mkiso/winly/unicode.pf2 b/iso32/mkiso/winly/unicode.pf2 new file mode 100644 index 0000000..57b682a Binary files /dev/null and b/iso32/mkiso/winly/unicode.pf2 differ diff --git a/iso32/mkiso/winly/winly.cfg b/iso32/mkiso/winly/winly.cfg new file mode 100644 index 0000000..b1e137c --- /dev/null +++ b/iso32/mkiso/winly/winly.cfg @@ -0,0 +1,36 @@ +set timeout=10 + +insmod gfxmenu +insmod jpeg +if background_image /winly/slitaz.jpg; then + true +else + set menu_color_normal=white/black + set menu_color_highlight=black/light-gray + if background_color 44,0,30; then + clear + fi +fi +insmod gfxmenu +insmod png +set theme=/winly/themes/winly/theme.txt +export theme +########## +########## +menuentry "slitaz5微型linux中文定制版" --class slitaz --class os { +linux /bzImage rw root=/dev/null vga=normal lang=zh_CN kmap=us tz=Asia/Shanghai autologin +initrd /rootfs.gz +} +if [ -e $prefix/i386-pc/ntldr.mod ]; then +menuentry "BIOS网络启动slitaz5微型linux中文定制版" --class slitaz --class os { +linux16 /ipxe.lkrn +} +else + +fi +menuentry "【reboot】重启" --class windows --class os{ + reboot +} +menuentry "【halt】关闭计算机" --class windows --class os{ + halt +} diff --git a/iso32/mkiso/winlyldr b/iso32/mkiso/winlyldr new file mode 100644 index 0000000..cc49ce1 Binary files /dev/null and b/iso32/mkiso/winlyldr differ diff --git a/iso64/iso.sh b/iso64/iso.sh new file mode 100755 index 0000000..387c9fd --- /dev/null +++ b/iso64/iso.sh @@ -0,0 +1,4 @@ +#!/bin/sh +genisoimage -r -T -J -V "Slitaz_ISO" -b winly.bin -c boot.cat -no-emul-boot -boot-load-size 4 \ + -boot-info-table -eltorito-alt-boot -e efiboot.img -no-emul-boot -v -o ../slitaz5.0-rolling-core64-cn.iso ./mkiso + diff --git a/iso64/mkiso/efi/boot/bootx64.efi b/iso64/mkiso/efi/boot/bootx64.efi new file mode 100644 index 0000000..e87e112 Binary files /dev/null and b/iso64/mkiso/efi/boot/bootx64.efi differ diff --git a/iso64/mkiso/efiboot.img b/iso64/mkiso/efiboot.img new file mode 100644 index 0000000..40892c5 Binary files /dev/null and b/iso64/mkiso/efiboot.img differ diff --git a/iso64/mkiso/ipxe.lkrn b/iso64/mkiso/ipxe.lkrn new file mode 100644 index 0000000..fbb7ea4 Binary files /dev/null and b/iso64/mkiso/ipxe.lkrn differ diff --git a/iso64/mkiso/vmlinuz-3.16.55-slitaz64 b/iso64/mkiso/vmlinuz-3.16.55-slitaz64 new file mode 100644 index 0000000..894e203 Binary files /dev/null and b/iso64/mkiso/vmlinuz-3.16.55-slitaz64 differ diff --git a/iso64/mkiso/winly.bin b/iso64/mkiso/winly.bin new file mode 100644 index 0000000..cff41c8 Binary files /dev/null and b/iso64/mkiso/winly.bin differ diff --git a/iso64/mkiso/winly/slitaz.jpg b/iso64/mkiso/winly/slitaz.jpg new file mode 100644 index 0000000..e7cf837 Binary files /dev/null and b/iso64/mkiso/winly/slitaz.jpg differ diff --git a/iso64/mkiso/winly/themes/winly/TRANS.TBL b/iso64/mkiso/winly/themes/winly/TRANS.TBL new file mode 100644 index 0000000..f52c986 --- /dev/null +++ b/iso64/mkiso/winly/themes/winly/TRANS.TBL @@ -0,0 +1,33 @@ +F BOOT_000.PNG;1 boot_menu_c.png +F BOOT_001.PNG;1 boot_menu_nw.png +F BOOT_002.PNG;1 boot_menu_w.png +F BOOT_003.PNG;1 boot_menu_ne.png +F BOOT_004.PNG;1 boot_menu_sw.png +F BOOT_005.PNG;1 boot_menu_n.png +F BOOT_006.PNG;1 boot_menu_e.png +F BOOT_007.PNG;1 boot_menu_s.png +F BOOT_MEN.PNG;1 boot_menu_se.png +F DEJAV000.PF2;1 dejavu-sans-bold-14.pf2 +F DEJAV001.PF2;1 dejavu-sans-12.pf2 +F DEJAVU_S.PF2;1 dejavu-sans-10.pf2 +D ICONS icons +F PROGR000.PNG;1 progress_c.png +F PROGR001.PNG;1 progress_highlight_c.png +F PROGR002.PNG;1 progress_highlight_w.png +F PROGRESS.PNG;1 progress_highlight_e.png +F SELECT_C.PNG;1 select_c.png +F SELECT_E.PNG;1 select_e.png +F SELECT_W.PNG;1 select_w.png +F SLIDER_C.PNG;1 slider_c.png +F SLITAZ4C.PNG;1 slitaz4cn.png +F TERMI000.PNG;1 terminal_c.png +F TERMI001.PNG;1 terminal_w.png +F TERMI002.PNG;1 terminal_sw.png +F TERMI003.PNG;1 terminal_se.png +F TERMI004.PNG;1 terminal_ne.png +F TERMI005.PNG;1 terminal_s.png +F TERMI006.PNG;1 terminal_n.png +F TERMI007.PNG;1 terminal_e.png +F TERMINAL.PNG;1 terminal_nw.png +F THEME.TXT;1 theme.txt +F WALLPAPE.PNG;1 wallpaper.png diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_c.png b/iso64/mkiso/winly/themes/winly/boot_menu_c.png new file mode 100644 index 0000000..f0b199e Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_c.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_e.png b/iso64/mkiso/winly/themes/winly/boot_menu_e.png new file mode 100644 index 0000000..2315cd1 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_e.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_n.png b/iso64/mkiso/winly/themes/winly/boot_menu_n.png new file mode 100644 index 0000000..82325b3 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_n.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_ne.png b/iso64/mkiso/winly/themes/winly/boot_menu_ne.png new file mode 100644 index 0000000..583b8f7 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_ne.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_nw.png b/iso64/mkiso/winly/themes/winly/boot_menu_nw.png new file mode 100644 index 0000000..2446b1b Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_nw.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_s.png b/iso64/mkiso/winly/themes/winly/boot_menu_s.png new file mode 100644 index 0000000..1069d9c Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_s.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_se.png b/iso64/mkiso/winly/themes/winly/boot_menu_se.png new file mode 100644 index 0000000..c0d854e Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_se.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_sw.png b/iso64/mkiso/winly/themes/winly/boot_menu_sw.png new file mode 100644 index 0000000..3981645 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_sw.png differ diff --git a/iso64/mkiso/winly/themes/winly/boot_menu_w.png b/iso64/mkiso/winly/themes/winly/boot_menu_w.png new file mode 100644 index 0000000..35dd064 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/boot_menu_w.png differ diff --git a/iso64/mkiso/winly/themes/winly/dejavu-sans-10.pf2 b/iso64/mkiso/winly/themes/winly/dejavu-sans-10.pf2 new file mode 100644 index 0000000..8d91b1c Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/dejavu-sans-10.pf2 differ diff --git a/iso64/mkiso/winly/themes/winly/dejavu-sans-12.pf2 b/iso64/mkiso/winly/themes/winly/dejavu-sans-12.pf2 new file mode 100644 index 0000000..54b2bca Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/dejavu-sans-12.pf2 differ diff --git a/iso64/mkiso/winly/themes/winly/dejavu-sans-bold-14.pf2 b/iso64/mkiso/winly/themes/winly/dejavu-sans-bold-14.pf2 new file mode 100644 index 0000000..8db4006 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/dejavu-sans-bold-14.pf2 differ diff --git a/iso64/mkiso/winly/themes/winly/icons/.directory b/iso64/mkiso/winly/themes/winly/icons/.directory new file mode 100644 index 0000000..6f2bae2 --- /dev/null +++ b/iso64/mkiso/winly/themes/winly/icons/.directory @@ -0,0 +1,4 @@ +[Dolphin] +PreviewsShown=true +Timestamp=2012,10,28,1,37,37 +Version=3 diff --git a/iso64/mkiso/winly/themes/winly/icons/TRANS.TBL b/iso64/mkiso/winly/themes/winly/icons/TRANS.TBL new file mode 100644 index 0000000..a42e9e5 --- /dev/null +++ b/iso64/mkiso/winly/themes/winly/icons/TRANS.TBL @@ -0,0 +1,20 @@ +F ARCH.PNG;1 arch.png +F DEBIAN.PNG;1 debian.png +F FEDORA.PNG;1 fedora.png +F GENTOO.PNG;1 gentoo.png +F GNU_LINU.PNG;1 gnu-linux.png +F KUBUNTU.PNG;1 kubuntu.png +F LINUXMIN.PNG;1 linuxmint.png +F LUBUNTU.PNG;1 lubuntu.png +F MANDRIVA.PNG;1 mandrivalinux.png +F OPENSUSE.PNG;1 opensuse.png +F OSX.PNG;1 osx.png +F RECOVERY.PNG;1 recovery.png +F SABAYON.PNG;1 sabayon.png +F SLACKWAR.PNG;1 slackware.png +F SLITAZ.PNG;1 slitaz.png +F SUBMENU.PNG;1 submenu.png +F UBUNTU.PNG;1 ubuntu.png +F WINDOWS.PNG;1 windows.png +F XUBUNTU.PNG;1 xubuntu.png +F _DIRECTO.;1 .directory diff --git a/iso64/mkiso/winly/themes/winly/icons/arch.png b/iso64/mkiso/winly/themes/winly/icons/arch.png new file mode 100644 index 0000000..fbd0131 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/arch.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/debian.png b/iso64/mkiso/winly/themes/winly/icons/debian.png new file mode 100644 index 0000000..962790b Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/debian.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/fedora.png b/iso64/mkiso/winly/themes/winly/icons/fedora.png new file mode 100644 index 0000000..cccdff8 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/fedora.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/gentoo.png b/iso64/mkiso/winly/themes/winly/icons/gentoo.png new file mode 100644 index 0000000..9bbe4d8 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/gentoo.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/gnu-linux.png b/iso64/mkiso/winly/themes/winly/icons/gnu-linux.png new file mode 100644 index 0000000..6db4ad1 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/gnu-linux.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/kubuntu.png b/iso64/mkiso/winly/themes/winly/icons/kubuntu.png new file mode 100644 index 0000000..b545b87 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/kubuntu.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/linuxmint.png b/iso64/mkiso/winly/themes/winly/icons/linuxmint.png new file mode 100644 index 0000000..ff5dd1f Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/linuxmint.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/lubuntu.png b/iso64/mkiso/winly/themes/winly/icons/lubuntu.png new file mode 100644 index 0000000..4320746 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/lubuntu.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/mandrivalinux.png b/iso64/mkiso/winly/themes/winly/icons/mandrivalinux.png new file mode 100644 index 0000000..d86b87d Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/mandrivalinux.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/opensuse.png b/iso64/mkiso/winly/themes/winly/icons/opensuse.png new file mode 100644 index 0000000..5dfb35a Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/opensuse.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/osx.png b/iso64/mkiso/winly/themes/winly/icons/osx.png new file mode 100644 index 0000000..6bf9651 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/osx.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/recovery.png b/iso64/mkiso/winly/themes/winly/icons/recovery.png new file mode 100644 index 0000000..5d53e8b Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/recovery.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/sabayon.png b/iso64/mkiso/winly/themes/winly/icons/sabayon.png new file mode 100644 index 0000000..602c66b Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/sabayon.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/slackware.png b/iso64/mkiso/winly/themes/winly/icons/slackware.png new file mode 100644 index 0000000..e8bbcc8 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/slackware.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/slitaz.png b/iso64/mkiso/winly/themes/winly/icons/slitaz.png new file mode 100644 index 0000000..fbf01e6 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/slitaz.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/submenu.png b/iso64/mkiso/winly/themes/winly/icons/submenu.png new file mode 100644 index 0000000..ef30aa9 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/submenu.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/ubuntu.png b/iso64/mkiso/winly/themes/winly/icons/ubuntu.png new file mode 100644 index 0000000..7484308 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/ubuntu.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/windows.png b/iso64/mkiso/winly/themes/winly/icons/windows.png new file mode 100644 index 0000000..22b42a4 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/windows.png differ diff --git a/iso64/mkiso/winly/themes/winly/icons/xubuntu.png b/iso64/mkiso/winly/themes/winly/icons/xubuntu.png new file mode 100644 index 0000000..7ef5bef Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/icons/xubuntu.png differ diff --git a/iso64/mkiso/winly/themes/winly/progress_c.png b/iso64/mkiso/winly/themes/winly/progress_c.png new file mode 100644 index 0000000..a350b18 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/progress_c.png differ diff --git a/iso64/mkiso/winly/themes/winly/progress_highlight_c.png b/iso64/mkiso/winly/themes/winly/progress_highlight_c.png new file mode 100644 index 0000000..22c86e4 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/progress_highlight_c.png differ diff --git a/iso64/mkiso/winly/themes/winly/progress_highlight_e.png b/iso64/mkiso/winly/themes/winly/progress_highlight_e.png new file mode 100644 index 0000000..12e60ff Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/progress_highlight_e.png differ diff --git a/iso64/mkiso/winly/themes/winly/progress_highlight_w.png b/iso64/mkiso/winly/themes/winly/progress_highlight_w.png new file mode 100644 index 0000000..0876e1e Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/progress_highlight_w.png differ diff --git a/iso64/mkiso/winly/themes/winly/select_c.png b/iso64/mkiso/winly/themes/winly/select_c.png new file mode 100644 index 0000000..b6ce5c8 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/select_c.png differ diff --git a/iso64/mkiso/winly/themes/winly/select_e.png b/iso64/mkiso/winly/themes/winly/select_e.png new file mode 100644 index 0000000..2030242 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/select_e.png differ diff --git a/iso64/mkiso/winly/themes/winly/select_w.png b/iso64/mkiso/winly/themes/winly/select_w.png new file mode 100644 index 0000000..1eb5022 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/select_w.png differ diff --git a/iso64/mkiso/winly/themes/winly/slider_c.png b/iso64/mkiso/winly/themes/winly/slider_c.png new file mode 100644 index 0000000..a81b60c Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/slider_c.png differ diff --git a/iso64/mkiso/winly/themes/winly/slitaz4cn.png b/iso64/mkiso/winly/themes/winly/slitaz4cn.png new file mode 100644 index 0000000..97d6c46 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/slitaz4cn.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_c.png b/iso64/mkiso/winly/themes/winly/terminal_c.png new file mode 100644 index 0000000..00f7c08 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_c.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_e.png b/iso64/mkiso/winly/themes/winly/terminal_e.png new file mode 100644 index 0000000..09fe19f Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_e.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_n.png b/iso64/mkiso/winly/themes/winly/terminal_n.png new file mode 100644 index 0000000..2af622b Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_n.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_ne.png b/iso64/mkiso/winly/themes/winly/terminal_ne.png new file mode 100644 index 0000000..5b6a475 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_ne.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_nw.png b/iso64/mkiso/winly/themes/winly/terminal_nw.png new file mode 100644 index 0000000..1563fc0 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_nw.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_s.png b/iso64/mkiso/winly/themes/winly/terminal_s.png new file mode 100644 index 0000000..1428617 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_s.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_se.png b/iso64/mkiso/winly/themes/winly/terminal_se.png new file mode 100644 index 0000000..ff94d16 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_se.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_sw.png b/iso64/mkiso/winly/themes/winly/terminal_sw.png new file mode 100644 index 0000000..d08a55a Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_sw.png differ diff --git a/iso64/mkiso/winly/themes/winly/terminal_w.png b/iso64/mkiso/winly/themes/winly/terminal_w.png new file mode 100644 index 0000000..3c5b847 Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/terminal_w.png differ diff --git a/iso64/mkiso/winly/themes/winly/theme.txt b/iso64/mkiso/winly/themes/winly/theme.txt new file mode 100644 index 0000000..44f0f95 --- /dev/null +++ b/iso64/mkiso/winly/themes/winly/theme.txt @@ -0,0 +1,59 @@ +# Ubuntu 13.04 GRUB2 theme + +desktop-image: "wallpaper.png" +title-text: "" +terminal-box: "terminal_*.png" +#terminal-font: "Gnu Unifont Mono Regular 16" + ++ boot_menu { + left = 24%-5 + width = 55%+11 + top = 22%-5 + height = 55%+21 + menu_pixmap_style = "boot_menu_*.png" + item_font = "DejaVu Sans Bold 14" + item_color = "#000000" + item_height = 48 + item_icon_space = 8 + item_spacing = 2 + selected_item_font = "DejaVu Sans Bold 14" + selected_item_color= "#FFFFFF" + selected_item_pixmap_style = "select_*.png" + icon_height = 48 + icon_width = 48 + icon_spacing = 25 + scrollbar = true + scrollbar_width = 3 + scrollbar_thumb = "slider_*.png" +} + ++ progress_bar { + id = "__timeout__" + left = 20% + top = 80%+15 + height = 20 + width = 65% + font = "DejaVu Sans Regular 12" + text_color = "#333333" + text = "默认选项系统将在 %d 秒后启动,按任意键可终止..." + bar_style = "progress_*.png" + highlight_style = "progress_highlight_*.png" +} + +# The Ubuntu 13.04/Raring Ringtail logo image. ++ image { + top = 100%-140 + left = 100%-350 + width = 350 + hight = 140 + file = "slitaz4cn.png" +} + +# The navigation instructions ++ vbox { + left = 5% + top = 90% + + label { text = "- 按上下键选择高亮菜单,按回车键启动" color = "#ADA9A5" font = "DejaVu Sans Regular 12" } + + label { text = "- 按 'e' 键编辑所选菜单的命令行" color = "#ADA9A5" font = "DejaVu Sans Regular 12" } + + label { text = "- 按 'c' 进入程序命令行" color = "#ADA9A5" font = "DejaVu Sans Regular 12" } +} diff --git a/iso64/mkiso/winly/themes/winly/wallpaper.png b/iso64/mkiso/winly/themes/winly/wallpaper.png new file mode 100644 index 0000000..ba79dda Binary files /dev/null and b/iso64/mkiso/winly/themes/winly/wallpaper.png differ diff --git a/iso64/mkiso/winly/unicode.pf2 b/iso64/mkiso/winly/unicode.pf2 new file mode 100644 index 0000000..57b682a Binary files /dev/null and b/iso64/mkiso/winly/unicode.pf2 differ diff --git a/iso64/mkiso/winly/winly.cfg b/iso64/mkiso/winly/winly.cfg new file mode 100644 index 0000000..b4dc761 --- /dev/null +++ b/iso64/mkiso/winly/winly.cfg @@ -0,0 +1,39 @@ +set timeout=10 + +insmod gfxmenu +insmod jpeg +if background_image /winly/slitaz.jpg; then + true +else + set menu_color_normal=white/black + set menu_color_highlight=black/light-gray + if background_color 44,0,30; then + clear + fi +fi +insmod gfxmenu +insmod png +set theme=/winly/themes/winly/theme.txt +export theme +########## +########## +menuentry "slitaz5微型linux中文定制版" --class slitaz --class os { +linux /vmlinuz-3.16.55-slitaz64 rw root=/dev/null vga=normal lang=zh_CN kmap=us tz=Asia/Shanghai autologin +initrd /rootfs.gz +} +if [ -e $prefix/i386-pc/ntldr.mod ]; then +menuentry "BIOS网络启动slitaz5微型linux中文定制版" --class slitaz --class os { +linux16 /ipxe.lkrn +} + +else +menuentry "UEFI网络启动slitaz5微型linux中文定制版" --class slitaz --class os { +chainloader /ipxe.efi chain file:/efimenu.ipxe +} +fi +menuentry "【reboot】重启" --class windows --class os{ + reboot +} +menuentry "【halt】关闭计算机" --class windows --class os{ + halt +} diff --git a/iso64/mkiso/winlyldr b/iso64/mkiso/winlyldr new file mode 100644 index 0000000..cc49ce1 Binary files /dev/null and b/iso64/mkiso/winlyldr differ diff --git a/mk-slitaz64.sh b/mk-slitaz64.sh new file mode 100644 index 0000000..d62774a --- /dev/null +++ b/mk-slitaz64.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +SOURCES_MIRRORS_FILE="packages/mirrors.list" +MIRRORS_SPEED_FILE="/tmp/mirrors_speed.list" +function get_ping_speed() +{ +local speed=`ping -W1 -c1 $1 2> /dev/null | grep "^r" | cut -d '/' -f5` +echo $speed +} +function test_mirror_speed() +{ + rm $MIRRORS_SPEED_FILE 2> /dev/null; touch $MIRRORS_SPEED_FILE + cat $SOURCES_MIRRORS_FILE | while read mirror + do + if [ "$mirror" != "" ]; then + echo -e "正在ping $mirror 检测中" + local mirror_host=`echo $mirror | cut -d '/' -f3` #change mirror_url to host + local speed=$(get_ping_speed $mirror_host) + if [ "$speed" != "" ]; then + echo "测速时间是 $speed" + echo "$mirror $speed" >> $MIRRORS_SPEED_FILE + else + echo "链接失败." + fi + fi + done +} +function get_fast_mirror() +{ + sort -k 2 -n -o $MIRRORS_SPEED_FILE $MIRRORS_SPEED_FILE + local fast_mirror=`head -n 1 $MIRRORS_SPEED_FILE | cut -d ' ' -f1` + echo $fast_mirror +} +test -f $SOURCES_MIRRORS_FILE + if [ "$?" != "0" ]; then + echo -e "$SOURCES_MIRRORS_FILE 不存在.\n"; exit 2 + else + test_mirror_speed + fast_mirror=$(get_fast_mirror) + if [ "$fast_mirror" == "" ]; then + echo -e "无法找到连通的网站数据源,请检查你的列表 $SOURCES_MIRRORS_FILE\n" + exit 0 + fi + fi +echo $fast_mirror +[ ! -e slitaz-rolling-core64.iso ] && wget $fast_mirror/iso/rolling/slitaz-rolling-core64.iso +mkdir iso-old +[ ! -d iso-old/boot ] && 7z x slitaz-rolling-core64.iso -y -r -o./iso-old +[ ! -e packages/linux64-3.16.55.tazpkg ] && wget -O ./packages/linux64-3.16.55.tazpkg http://ecoo.top:8083/dl/slitaz/linux64-3.16.55.tazpkg +[ ! -e packages/teasiu-5.0.tazpkg ] && wget -O ./packages/teasiu-5.0.tazpkg http://ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg +[ ! -e packages/updatetime.txt ] && wget -O ./packages/updatetime.txt http://ecoo.top:8083/dl/slitaz/iso/rolling/slitaz-rolling-core64-chinese-updatetime.txt +docker build -t newrootfs -f ./dockerfile-rootfs64 . +docker run --name myrootfs newrootfs +docker cp myrootfs:/tmp/rootfs-new.gz ./iso64/mkiso/rootfs.gz +docker stop myrootfs +docker rm myrootfs +docker rmi newrootfs +cd iso64 +sh iso.sh diff --git a/packages/fast-mirrors.sh b/packages/fast-mirrors.sh new file mode 100755 index 0000000..2145ba4 --- /dev/null +++ b/packages/fast-mirrors.sh @@ -0,0 +1,71 @@ +#!/bin/sh +#自动检测最快软件源脚本 +VERSION="5.0" +TEST_NETCONNECT_HOST="www.baidu.com" +SOURCES_MIRRORS_FILE="mirrors.list" +MIRRORS_SPEED_FILE="/tmp/mirrors_speed.list" +function get_ping_speed() +{ +local speed=`ping -W1 -c1 $1 2> /dev/null | grep "^rou" | cut -d '/' -f5` +echo $speed +} +function test_mirror_speed() # +{ + rm $MIRRORS_SPEED_FILE 2> /dev/null; touch $MIRRORS_SPEED_FILE + cat $SOURCES_MIRRORS_FILE | while read mirror + do + if [ "$mirror" != "" ]; then + echo -e "正在ping $mirror 检测中" + local mirror_host=`echo $mirror | cut -d '/' -f3` #change mirror_url to host + local speed=$(get_ping_speed $mirror_host) + if [ "$speed" != "" ]; then + echo "测速时间是 $speed" + echo "$mirror $speed" >> $MIRRORS_SPEED_FILE + else + echo "链接失败." + fi + fi + done +} +function get_fast_mirror() +{ + sort -k 2 -n -o $MIRRORS_SPEED_FILE $MIRRORS_SPEED_FILE + local fast_mirror=`head -n 1 $MIRRORS_SPEED_FILE | cut -d ' ' -f1` + echo $fast_mirror +} +function backup_sources() +{ + echo -e "备份了你的旧列表.\n" + sudo mv /var/lib/tazpkg/mirror /var/lib/tazpkg/mirror.`date +%F-%R:%S` +} +function update_sources() +{ + local mirror="$1" + local tmp=$(mktemp) + echo "$mirror/packages/$VERSION" >> $tmp + sudo cp "$tmp" /var/lib/tazpkg/mirror + sudo mv "$tmp" /tmp/rootfs/var/lib/tazpkg/mirror + echo -e "你的最快软件源已经update.\n"; +} +echo -e "\n检测中 network connection.\n请稍候... c" +if [ "$(get_ping_speed $TEST_NETCONNECT_HOST)" == "" ]; then + echo -e "网络不通.\n请检查你的网络."; exit 1 +else + echo -e "网络是连通的.\n" + test -f $SOURCES_MIRRORS_FILE + if [ "$?" != "0" ]; then + echo -e "$SOURCES_MIRRORS_FILE 不存在.\n"; exit 2 + else + test_mirror_speed + fast_mirror=$(get_fast_mirror) + if [ "$fast_mirror" == "" ]; then + echo -e "无法找到联通的网站数据源,请检查你的列表 $SOURCES_MIRRORS_FILE\n" + exit 0 + fi + echo -e "\n$最快的软件源网站已经自动选择,关闭本窗口. c" + backup_sources + update_sources $fast_mirror + sudo tazpkg recharge + fi +fi +exit 0 diff --git a/packages/gen-slitaz32.sh b/packages/gen-slitaz32.sh new file mode 100644 index 0000000..82d6075 --- /dev/null +++ b/packages/gen-slitaz32.sh @@ -0,0 +1,107 @@ +#!/bin/sh +URL="http://ecoo.top:8083/dl/slitaz" +ROOTFS="/tmp/rootfs" +echo "$URL/packages/5.0/" > $ROOTFS/var/lib/tazpkg/mirror +tazpkg install yong-2.5.0.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install sudocn-1.8.4.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install ghost-5.0.1.tazpkg --root=$ROOTFS --nodeps --local +tazpkg get wqy-microhei xz tar curl git xorg-xf86-input-vmmouse grsync +tazpkg install wqy-microhei*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xz*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install tar*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install curl*.tazpkg --root=$ROOTFS --local +tazpkg install git*.tazpkg --root=$ROOTFS --local +tazpkg get locale-zh_CN locale-zh_CN-extra bash iptables linux-netfilter isomaster gvfs-smb dosfstools mdadm +tazpkg get exfat-utils gftp xorg-xf86-video-vmware p7zip-full zip unzip cpio gzip transmission-daemon libevent axel +tazpkg install locale-zh_CN*.tazpkg --root=$ROOTFS --nodeps --local +yes | tazpkg install bash*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install linux-netfilter*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install iptables*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install exfat-utils*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install gftp*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xorg-xf86-video-vmware*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xorg-xf86-input-vmmouse*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install p7zip-full*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install zip*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install unzip*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install cpio*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install gzip*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install rar*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xarchiver*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install libevent*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install transmission-daemon*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install isomaster*.tazpkg --root=$ROOTFS --local +tazpkg install gvfs-smb*.tazpkg --root=$ROOTFS --local +tazpkg install transmission-web-contrl-1.61.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install dosfstools*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install mdadm*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install grsync*.tazpkg --root=$ROOTFS --local +tazpkg install axel*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg get xorg-xf86-video-geode xorg-xf86-video-ati xorg-xf86-video-nouveau xorg-xf86-video-intel xorg-xf86-video-radeonhd xorg-xf86-video-nv +tazpkg install xorg-xf86-video*.tazpkg --root=$ROOTFS --local +tazpkg -gi openvpn --root=$ROOTFS --local +tazpkg -gi linux64-video --root=$ROOTFS --local +tazpkg -gi linux64-cifs --root=$ROOTFS --local +tazpkg -gi linux64-acpi --root=$ROOTFS --local +tazpkg -gi linux64-configfs --root=$ROOTFS --local +tazpkg -gi linux64-aufs --root=$ROOTFS --local +tazpkg -gi nfs-utils --root=$ROOTFS --local +tazpkg install teasiu*.tazpkg --root=$ROOTFS --nodeps --local +cp -rf $ROOTFS/etc/xdg/openbox/menu.zh_CN.xml $ROOTFS/etc/xdg/openbox/menu.en.xml +cp -a updatetime.txt $ROOTFS/etc +mkdir -p $ROOTFS/etc/skel/.config/slitaz +echo "root" > $ROOTFS/etc/skel/.config/slitaz/subox.conf +echo "Name[zh_CN]=WiFi无线网络配置" >> $ROOTFS/usr/share/applications/wifi-box.desktop +echo "Name[zh_CN]=设置系统语言" >> $ROOTFS/usr/share/applications/tazbox-locale.desktop +echo "Name[zh_CN]=设置系统时区" >> $ROOTFS/usr/share/applications/tazbox-tz.desktop +echo "Name[zh_CN]=软件包管理器" >> $ROOTFS/usr/share/applications/tazpanel-pkgs.desktop +echo "Name[zh_CN]=设置账号密码" >> $ROOTFS/usr/share/applications/passwd.desktop +echo "Name[zh_CN]=预设应用程序" >> $ROOTFS/usr/share/applications/tazbox-tazapps.desktop +echo "Name[zh_CN]=本地语言包管理" >> $ROOTFS/usr/share/applications/tazbox-manage_i18n.desktop +echo "Name[zh_CN]=国际键盘设置" >> $ROOTFS/usr/share/applications/tazbox-keymap.desktop +rm $ROOTFS/usr/share/locale/zh_TW -rf +rm $ROOTFS/usr/share/locale/ca -rf +rm $ROOTFS/usr/share/locale/da -rf +rm $ROOTFS/usr/share/locale/de -rf +rm $ROOTFS/usr/share/locale/el -rf +rm $ROOTFS/usr/share/locale/es -rf +rm $ROOTFS/usr/share/locale/fa -rf +rm $ROOTFS/usr/share/locale/fr -rf +rm $ROOTFS/usr/share/locale/id -rf +rm $ROOTFS/usr/share/locale/it -rf +rm $ROOTFS/usr/share/locale/ja -rf +rm $ROOTFS/usr/share/locale/pl -rf +rm $ROOTFS/usr/share/locale/pt_BR -rf +rm $ROOTFS/usr/share/locale/ro -rf +rm $ROOTFS/usr/share/locale/ru -rf +rm $ROOTFS/usr/share/locale/sv -rf +cd $ROOTFS/var/lib/tazpkg +rm $ROOTFS/var/lib/tazpkg/packages.* +rm $ROOTFS/var/lib/tazpkg/ID* +rm $ROOTFS/var/lib/tazpkg/files* +rm $ROOTFS/var/lib/tazpkg/*.txt +rm $ROOTFS/var/lib/tazpkg/extra.list +sed -i '4i\export XMODIFIERS="@im=yong"' $ROOTFS/etc/skel/.xinitrc +sed -i '5i\export GTK_IM_MODULE=yong' $ROOTFS/etc/skel/.xinitrc +sed -i '6i\yong &' $ROOTFS/etc/skel/.xinitrc +sed -i 's/Monospace/DejaVu Sans Mono/' $ROOTFS/etc/skel/.Xdefaults +sed -i 's/index.html/index.cn.html/' $ROOTFS/etc/skel/Desktop/slitaz-doc.desktop +sed -i 's/httpd/httpd dropbear transmission-daemon/' $ROOTFS/etc/rcS.conf +sed -i 's/UTC/Asia\/\Shanghai/' $ROOTFS/etc/init.d/system.sh +echo '/usr/bin/vlmcsd' >> $ROOTFS/etc/init.d/local.sh +echo "hwclock -s" >> $ROOTFS/etc/init.d/local.sh +echo 'echo "tux:tux" | chpasswd ' >> $ROOTFS/etc/init.d/local.sh +sed -i 's/sh/bash/' $ROOTFS/etc/passwd +cp -f $ROOTFS/etc/skel/.profile $ROOTFS/etc/skel/.bashrc +cat << EOF | chroot $ROOTFS +tazpkg -b sudo +tazpkg clean-cache +cd /var/lib/tazpkg +rm packages.* +rm ID* +rm files* +rm *.txt +rm extra.list +gtk-query-immodules-2.0 --update-cache +EOF + diff --git a/packages/gen-slitaz64.sh b/packages/gen-slitaz64.sh new file mode 100644 index 0000000..1bb3ba2 --- /dev/null +++ b/packages/gen-slitaz64.sh @@ -0,0 +1,108 @@ +#!/bin/sh +URL="http://ecoo.top:8083/dl/slitaz" +ROOTFS="/tmp/rootfs" +echo "$URL/packages/5.0/" > $ROOTFS/var/lib/tazpkg/mirror +tazpkg install linux64-3.16.55.tazpkg --root=$ROOTFS --nodeps --local --forced +tazpkg install yong-2.5.0.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install sudocn-1.8.4.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install ghost-5.0.1.tazpkg --root=$ROOTFS --nodeps --local +tazpkg get wqy-microhei xz tar curl git xorg-xf86-input-vmmouse grsync +tazpkg install wqy-microhei*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xz*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install tar*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install curl*.tazpkg --root=$ROOTFS --local +tazpkg install git*.tazpkg --root=$ROOTFS --local +tazpkg get locale-zh_CN locale-zh_CN-extra bash iptables linux64-netfilter isomaster gvfs-smb dosfstools mdadm +tazpkg get exfat-utils gftp xorg-xf86-video-vmware p7zip-full zip unzip cpio gzip transmission-daemon libevent axel +tazpkg install locale-zh_CN*.tazpkg --root=$ROOTFS --nodeps --local +yes | tazpkg install bash*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install linux64-netfilter*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install iptables*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install exfat-utils*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install gftp*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xorg-xf86-video-vmware*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xorg-xf86-input-vmmouse*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install p7zip-full*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install zip*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install unzip*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install cpio*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install gzip*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install rar*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install xarchiver*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install libevent*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install transmission-daemon*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install isomaster*.tazpkg --root=$ROOTFS --local +tazpkg install gvfs-smb*.tazpkg --root=$ROOTFS --local +tazpkg install transmission-web-contrl-1.61.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install dosfstools*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install mdadm*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg install grsync*.tazpkg --root=$ROOTFS --local +tazpkg install axel*.tazpkg --root=$ROOTFS --nodeps --local +tazpkg get xorg-xf86-video-geode xorg-xf86-video-ati xorg-xf86-video-nouveau xorg-xf86-video-intel xorg-xf86-video-radeonhd xorg-xf86-video-nv +tazpkg install xorg-xf86-video*.tazpkg --root=$ROOTFS --local +tazpkg -gi openvpn --root=$ROOTFS --local +tazpkg -gi linux64-video --root=$ROOTFS --local +tazpkg -gi linux64-cifs --root=$ROOTFS --local +tazpkg -gi linux64-acpi --root=$ROOTFS --local +tazpkg -gi linux64-configfs --root=$ROOTFS --local +tazpkg -gi linux64-aufs --root=$ROOTFS --local +tazpkg -gi nfs-utils --root=$ROOTFS --local +tazpkg install teasiu*.tazpkg --root=$ROOTFS --nodeps --local +cp -rf $ROOTFS/etc/xdg/openbox/menu.zh_CN.xml $ROOTFS/etc/xdg/openbox/menu.en.xml +cp -a updatetime.txt $ROOTFS/etc +mkdir -p $ROOTFS/etc/skel/.config/slitaz +echo "root" > $ROOTFS/etc/skel/.config/slitaz/subox.conf +echo "Name[zh_CN]=WiFi无线网络配置" >> $ROOTFS/usr/share/applications/wifi-box.desktop +echo "Name[zh_CN]=设置系统语言" >> $ROOTFS/usr/share/applications/tazbox-locale.desktop +echo "Name[zh_CN]=设置系统时区" >> $ROOTFS/usr/share/applications/tazbox-tz.desktop +echo "Name[zh_CN]=软件包管理器" >> $ROOTFS/usr/share/applications/tazpanel-pkgs.desktop +echo "Name[zh_CN]=设置账号密码" >> $ROOTFS/usr/share/applications/passwd.desktop +echo "Name[zh_CN]=预设应用程序" >> $ROOTFS/usr/share/applications/tazbox-tazapps.desktop +echo "Name[zh_CN]=本地语言包管理" >> $ROOTFS/usr/share/applications/tazbox-manage_i18n.desktop +echo "Name[zh_CN]=国际键盘设置" >> $ROOTFS/usr/share/applications/tazbox-keymap.desktop +rm $ROOTFS/usr/share/locale/zh_TW -rf +rm $ROOTFS/usr/share/locale/ca -rf +rm $ROOTFS/usr/share/locale/da -rf +rm $ROOTFS/usr/share/locale/de -rf +rm $ROOTFS/usr/share/locale/el -rf +rm $ROOTFS/usr/share/locale/es -rf +rm $ROOTFS/usr/share/locale/fa -rf +rm $ROOTFS/usr/share/locale/fr -rf +rm $ROOTFS/usr/share/locale/id -rf +rm $ROOTFS/usr/share/locale/it -rf +rm $ROOTFS/usr/share/locale/ja -rf +rm $ROOTFS/usr/share/locale/pl -rf +rm $ROOTFS/usr/share/locale/pt_BR -rf +rm $ROOTFS/usr/share/locale/ro -rf +rm $ROOTFS/usr/share/locale/ru -rf +rm $ROOTFS/usr/share/locale/sv -rf +cd $ROOTFS/var/lib/tazpkg +rm $ROOTFS/var/lib/tazpkg/packages.* +rm $ROOTFS/var/lib/tazpkg/ID* +rm $ROOTFS/var/lib/tazpkg/files* +rm $ROOTFS/var/lib/tazpkg/*.txt +rm $ROOTFS/var/lib/tazpkg/extra.list +sed -i '4i\export XMODIFIERS="@im=yong"' $ROOTFS/etc/skel/.xinitrc +sed -i '5i\export GTK_IM_MODULE=yong' $ROOTFS/etc/skel/.xinitrc +sed -i '6i\yong &' $ROOTFS/etc/skel/.xinitrc +sed -i 's/Monospace/DejaVu Sans Mono/' $ROOTFS/etc/skel/.Xdefaults +sed -i 's/index.html/index.cn.html/' $ROOTFS/etc/skel/Desktop/slitaz-doc.desktop +sed -i 's/httpd/httpd dropbear transmission-daemon/' $ROOTFS/etc/rcS.conf +sed -i 's/UTC/Asia\/\Shanghai/' $ROOTFS/etc/init.d/system.sh +echo '/usr/bin/vlmcsd' >> $ROOTFS/etc/init.d/local.sh +echo "hwclock -s" >> $ROOTFS/etc/init.d/local.sh +echo 'echo "tux:tux" | chpasswd ' >> $ROOTFS/etc/init.d/local.sh +sed -i 's/sh/bash/' $ROOTFS/etc/passwd +cp -f $ROOTFS/etc/skel/.profile $ROOTFS/etc/skel/.bashrc +cat << EOF | chroot $ROOTFS +tazpkg -b sudo +tazpkg clean-cache +cd /var/lib/tazpkg +rm packages.* +rm ID* +rm files* +rm *.txt +rm extra.list +gtk-query-immodules-2.0 --update-cache +EOF + diff --git a/packages/ghost-5.0.1.tazpkg b/packages/ghost-5.0.1.tazpkg new file mode 100644 index 0000000..1947b3a Binary files /dev/null and b/packages/ghost-5.0.1.tazpkg differ diff --git a/packages/linux64-3.16.55.tazpkg b/packages/linux64-3.16.55.tazpkg new file mode 100644 index 0000000..5299c83 Binary files /dev/null and b/packages/linux64-3.16.55.tazpkg differ diff --git a/packages/mirrors.list b/packages/mirrors.list new file mode 100644 index 0000000..e6b3d1b --- /dev/null +++ b/packages/mirrors.list @@ -0,0 +1,23 @@ +http://mirror.slitaz.org +http://mirror1.slitaz.org +http://www.gtlib.gatech.edu/pub/slitaz +ftp://ftp.gtlib.gatech.edu/pub/slitaz +http://download.tuxfamily.org/slitaz +ftp://download.tuxfamily.org/slitaz +http://slitaz.c3sl.ufpr.br +http://distro.ibiblio.org/slitaz +ftp://distro.ibiblio.org/slitaz +http://mirror.clarkson.edu/slitaz +http://malibu.tuxfamily.net/slitaz +ftp://malibu.tuxfamily.net/slitaz +http://ftp.uni-stuttgart.de/slitaz +ftp://ftp.uni-stuttgart.de/slitaz +ftp://fb04272.mathematik.tu-darmstadt.de/pub/linux/distributions/slitaz +ftp://linux.mathematik.tu-darmstadt.de/pub/linux/distributions/misc/slitaz +ftp://ftp.icm.edu.pl/vol/rzm5/linux-ibiblio/distributions/slitaz +http://absinthe.tuxfamily.net/slitaz +http://mirror.math.princeton.edu/pub/slitaz +http://dl.aurorafoss.org/slitaz +http://www.ecoo.top:8083/dl/slitaz +ftp://ftp.rz.uni-kiel.de/pub2/linux/slitaz +http://192.168.111.4/dl/slitaz diff --git a/packages/rar-6.0.0.tazpkg b/packages/rar-6.0.0.tazpkg new file mode 100644 index 0000000..ca33c31 Binary files /dev/null and b/packages/rar-6.0.0.tazpkg differ diff --git a/packages/sudocn-1.8.4.tazpkg b/packages/sudocn-1.8.4.tazpkg new file mode 100644 index 0000000..00a17f9 Binary files /dev/null and b/packages/sudocn-1.8.4.tazpkg differ diff --git a/packages/transmission-web-contrl-1.61.tazpkg b/packages/transmission-web-contrl-1.61.tazpkg new file mode 100644 index 0000000..a9b1cd0 Binary files /dev/null and b/packages/transmission-web-contrl-1.61.tazpkg differ diff --git a/packages/xarchiver-cn-0.5.2.tazpkg b/packages/xarchiver-cn-0.5.2.tazpkg new file mode 100644 index 0000000..b48b20d Binary files /dev/null and b/packages/xarchiver-cn-0.5.2.tazpkg differ diff --git a/packages/yong-2.5.0.tazpkg b/packages/yong-2.5.0.tazpkg new file mode 100644 index 0000000..7be0a15 Binary files /dev/null and b/packages/yong-2.5.0.tazpkg differ diff --git a/定制slitaz教程.txt b/定制slitaz教程.txt new file mode 100644 index 0000000..f258fb2 --- /dev/null +++ b/定制slitaz教程.txt @@ -0,0 +1,16 @@ +本定制手法需要在ubuntu20.04下操作: + +首先需要配置ubuntu的docker和必要的环境: +sudo apt update && sudo apt install p7zip-full genisoimage curl git bash +一键安装docker +curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun + +然后 +git clone https://github.com/teasiu/slitaz5cn.git +cd slitaz5cn +sudo bash mk-slitaz64.sh + +完成后将会自动在文件夹内多了一个定制好的slitaz5.0-rolling-core64-cn.iso + +修改和添加软件包,请进入packages的gen-slitaz64.sh编辑和调整。 +