소스 검색

Patching the hashlet

Bob Mottram 11 년 전
부모
커밋
6a79259d0a
1개의 변경된 파일9개의 추가작업 그리고 3개의 파일을 삭제
  1. 9
    3
      beaglebone.txt

+ 9
- 3
beaglebone.txt 파일 보기

472
 cd /tmp
472
 cd /tmp
473
 wget http://freedombone.uk.to/hashlet-1.0.0.tar.gz
473
 wget http://freedombone.uk.to/hashlet-1.0.0.tar.gz
474
 wget http://freedombone.uk.to/hashlet-1.0.0.tar.gz.sig
474
 wget http://freedombone.uk.to/hashlet-1.0.0.tar.gz.sig
475
+wget http://freedombone.uk.to/hashlet-1.0.0.patch
475
 #+END_SRC
476
 #+END_SRC
476
 
477
 
477
 Install some dependencies.
478
 Install some dependencies.
490
 
491
 
491
 #+BEGIN_SRC: bash
492
 #+BEGIN_SRC: bash
492
 gpg: Signature made Fri 07 Feb 2014 23:22:37 GMT using RSA key ID 81CD647A
493
 gpg: Signature made Fri 07 Feb 2014 23:22:37 GMT using RSA key ID 81CD647A
493
-gpg: requesting key 81CD647A from hkp server keys.gnupg.net
494
-gpg: key BD2EDEA6: public key "Joshua Brian Datko <jbd@cryptotronix.com>" imported
495
-
496
 gpg: Good signature from "Joshua Brian Datko <jbd@cryptotronix.com>"
494
 gpg: Good signature from "Joshua Brian Datko <jbd@cryptotronix.com>"
497
 #+END_SRC
495
 #+END_SRC
498
 
496
 
497
+Also verify the patch:
498
+
499
+#+BEGIN_SRC: bash
500
+sha256sum hashlet-1.0.0.patch
501
+bb9f08b049d112fadd0f8889849a39d199a7f7582c627f8eda5680ded842945b
502
+#+END_SRC
503
+
499
 Now install the driver.
504
 Now install the driver.
500
 
505
 
501
 #+BEGIN_SRC: bash
506
 #+BEGIN_SRC: bash
502
 tar -xzvf hashlet-1.0.0.tar.gz
507
 tar -xzvf hashlet-1.0.0.tar.gz
503
 cd hashlet-1.0.0
508
 cd hashlet-1.0.0
509
+patch -p1 < ../hashlet-1.0.0.patch
504
 chmod o+rw /dev/i2c*
510
 chmod o+rw /dev/i2c*
505
 ./configure
511
 ./configure
506
 make
512
 make