Sandbox:How to write a HOWTO: Difference between revisions

From Alpine Linux
(How to use xdelta to download only differential updates)
 
No edit summary
Line 1: Line 1:
    For those having a slow connection, it is possible to download only a differential file that contains only the new Alpine version changes. You can then use the downloaded xdelta file to update your previous Alpine release iso file to the new one. You will still need to download the new iso checksum file and test the integrity of the newly built iso file. For xdelta to work you should have the three files on the same directory level, i.e.: alpine-1.10.3-1.10.4.xdelta, alpine-1.10.3-x86.iso and the alpine-1.10.4-x86.iso.sha1       
For those having a slow connection, it is possible to download only a differential file that contains only the new Alpine version changes. You can then use the downloaded xdelta file to update your previous Alpine release iso file to the new one. You will still need to download the new iso checksum file and test the integrity of the newly built iso file. For xdelta to work you should have the three files on the same directory level, i.e.: alpine-1.10.3-1.10.4.xdelta, alpine-1.10.3-x86.iso and the alpine-1.10.4-x86.iso.sha1       
      
      
{{{
wget –c http://www.alpinelinux.org/cgi-bin/dl.cgi/v1.10/releases/alpine-1.10.3-1.10.4.xdelta
#!sh
wget http://dev.alpinelinux.org/alpine/v1.9/iso/alpine-<%NEWEST_RELEASE%>-x86.iso.sha1
cd /tmp
wget –c http://www.alpinelinux.org/cgi-bin/dl.cgi/v1.10/releases/alpine-1.10.3-1.10.4.xdelta
wget http://dev.alpinelinux.org/alpine/v1.9/iso/alpine-<%NEWEST_RELEASE%>-x86.iso.sha1
}}} 


1. Make sure you have xdelta3 installed and build the new iso
Make sure you have xdelta3 installed and build the new iso
{{{
#!sh
apk add xdelta3
xdelta3 -d alpine-1.10.3-1.10.4.xdelta
}}}


1. If checking the integrity of the file shows: alpine-<%NEWEST_RELEASE%>-x86.iso: OK then you are ready to continue.
apk add xdelta3
xdelta3 -d alpine-1.10.3-1.10.4.xdelta
 
If checking the integrity of the file shows: alpine-<%NEWEST_RELEASE%>-x86.iso: OK then you are ready to continue.

Revision as of 11:51, 9 June 2010

For those having a slow connection, it is possible to download only a differential file that contains only the new Alpine version changes. You can then use the downloaded xdelta file to update your previous Alpine release iso file to the new one. You will still need to download the new iso checksum file and test the integrity of the newly built iso file. For xdelta to work you should have the three files on the same directory level, i.e.: alpine-1.10.3-1.10.4.xdelta, alpine-1.10.3-x86.iso and the alpine-1.10.4-x86.iso.sha1

wget –c http://www.alpinelinux.org/cgi-bin/dl.cgi/v1.10/releases/alpine-1.10.3-1.10.4.xdelta
wget http://dev.alpinelinux.org/alpine/v1.9/iso/alpine-<%NEWEST_RELEASE%>-x86.iso.sha1

Make sure you have xdelta3 installed and build the new iso

apk add xdelta3
xdelta3 -d alpine-1.10.3-1.10.4.xdelta

If checking the integrity of the file shows: alpine-<%NEWEST_RELEASE%>-x86.iso: OK then you are ready to continue.