(ARM용으로는 reprepro나 dak 같은게 안나오나...)
#!/bin/sh rm -f Packages.bz2 Release Release.gpg dpkg-scanpackages . Packages > Packages bzip2 -k Packages cp Release.org Release md5=$(md5sum Packages) size=$(stat -c%s Packages) md5=$(echo $md5 | sed "s/Packages/$size Packages/" - | sed "s/^/ /" -) echo "$md5" >> Release md5=$(md5sum Packages.bz2) size=$(stat -c%s Packages.bz2) md5=$(echo $md5 | sed "s/Packages/$size Packages/" - | sed "s/^/ /" -) echo "$md5" >> Release gpg2 -abs -o Release.gpg Release chown -R oldpiano:hdusers *
댓글 없음:
댓글 쓰기