Skip to content

Commit

Permalink
All: 清除过往已删除大文件,缩减固件文件(去除非平台依赖包)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonAnthonyLee committed Nov 20, 2018
1 parent 3dfdb0d commit 60261cc
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 开发所用 Overlay 映像说明

将 OpenWrt-NanoPiNEO2-OLED-SPI-0.1.3-Develop-ext4.img.gz 解压后所得文件是 ext4fs 类型的分区映像,可挂载后复制文件到指定目标分区(以下假定目标分区为 /dev/sda3)。
将 OpenWrt-NanoPiNEO2-OLED-SPI-0.1.3-Develop-ext4.img.xz 解压后所得文件是 ext4fs 类型的分区映像,可挂载后复制文件到指定目标分区(以下假定目标分区为 /dev/sda3)。

gzip -d OpenWrt-NanoPiNEO2-OLED-SPI-0.1.3-Develop-ext4.img.gz
xz -d OpenWrt-NanoPiNEO2-OLED-SPI-0.1.3-Develop-ext4.img.xz
mkdir -p /tmp/src
mkdir -p /tmp/dst
mount OpenWrt-NanoPiNEO2-OLED-SPI-0.1.3-Develop-ext4.img /tmp/src
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 开发所用 Overlay 映像说明

将 OpenWrt-NanoPiNEO-OLED-SPI-0.1-Develop-ext4.img.gz 解压后所得文件是 ext4fs 类型的分区映像,可挂载后复制文件到指定目标分区(以下假定目标分区为 /dev/sda3)。
将 OpenWrt-NanoPiNEO-OLED-SPI-0.1.3-Develop-ext4.img.xz 解压后所得文件是 ext4fs 类型的分区映像,可挂载后复制文件到指定目标分区(以下假定目标分区为 /dev/sda3)。

gzip -d OpenWrt-NanoPiNEO-OLED-SPI-0.1-Develop-ext4.img.gz
xz -d OpenWrt-NanoPiNEO-OLED-SPI-0.1.3-Develop-ext4.img.xz
mkdir -p /tmp/src
mkdir -p /tmp/dst
mount OpenWrt-NanoPiNEO-OLED-SPI-0.1-Develop-ext4.img /tmp/src
mount OpenWrt-NanoPiNEO-OLED-SPI-0.1.3-Develop-ext4.img /tmp/src
mount /dev/sda3 /tmp/dst
cp -a /tmp/src/* /tmp/dst
umount /tmp/src
Expand Down

0 comments on commit 60261cc

Please sign in to comment.