<
From version < 68.1 >
edited by Xiaoling
on 2022/08/24 10:00
To version < 68.2 >
edited by Xiaoling
on 2022/08/24 10:00
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -345,69 +345,86 @@
345 345  === 3.2.7 Sign the Release file with gpg and generating Inrelease file ===
346 346  
347 347  
348 +
348 348  ==== (% style="color:blue" %)Make sure auto-update server has gnupg(%%) ====
349 349  
350 -(% style="background-color:yellow" %)apt install gnupg
351 351  
352 +(% style="background-color:yellow" %)**apt install gnupg**
353 +
354 +
355 +
352 352  ==== (% style="color:blue" %)generate gpg key(%%) ====
353 353  
354 -(% style="background-color:yellow" %)gpg -gen-key
355 355  
359 +(% style="background-color:yellow" %)**gpg -gen-key**
356 356  
361 +
357 357  **((% style="color:red" %)Note: Fill in the content as required and remember the name and email address)(%%)**
358 358  
359 359  
365 +
360 360  ==== (% style="color:blue" %)Check the gen-key(%%) ====
361 361  
362 -(% style="background-color:yellow" %)gen -list-key
363 363  
369 +(% style="background-color:yellow" %)**gen -list-key**
364 364  
371 +
372 +
365 365  ==== (% style="color:blue" %)Generate the release.gpg(%%) ====
366 366  
367 -(% style="background-color:yellow" %)cd /var/www/html/debian/release/dists/stable
368 368  
369 -(% style="background-color:yellow" %)gpg ~-~-armor ~-~-detach-sign -o Release.gpg Release
376 +(% style="background-color:yellow" %)**cd /var/www/html/debian/release/dists/stable**
370 370  
378 +(% style="background-color:yellow" %)**gpg ~-~-armor ~-~-detach-sign -o Release.gpg Release**
371 371  
372 -(% style="background-color:yellow" %)gpg ~-~-clearsign -o InRelease Release
373 373  
381 +(% style="background-color:yellow" %)**gpg ~-~-clearsign -o InRelease Release**
374 374  
375 375  
384 +
376 376  ==== (% style="color:blue" %)Generate the public key(%%) ====
377 377  
378 378  
379 -(% style="background-color:yellow" %)gpg ~-~-armor ~-~-output <name>.asc ~-~-export <email address>
388 +(% style="background-color:yellow" %)**gpg ~-~-armor ~-~-output <name>.asc ~-~-export <email address>**
380 380  
390 +
381 381  **example: gpg ~-~-armor ~-~-output xiao.asc ~-~-export **[[xiaoye@dragino.cc>>mailto:xiaoye@dragino.cc]]
382 382  
383 383  
384 384  
385 -
386 386  === 3.2.8 Add url as apt source in LPS8v2 / MS20 ===
387 387  
397 +
398 +
388 388  ==== (% style="color:blue" %)Add the public key(%%) ====
389 389  
390 -(% style="background-color:yellow" %)cp xiao.asc /etc/apt/trusted.gpg.d/
391 391  
392 -(% style="color:red" %)Note: First need to transfer the public key from auto-update server to device.
402 +(% style="background-color:yellow" %)**cp xiao.asc /etc/apt/trusted.gpg.d/**
393 393  
404 +(% style="color:red" %)**Note: First need to transfer the public key from auto-update server to device.**
394 394  
406 +
407 +
395 395  ==== (% style="color:blue" %)Add the apt source list(%%) ====
396 396  
410 +
397 397  Add the apt source list url and name this as test_server.list
398 398  
399 -(% style="background-color:yellow" %)echo "deb http:~/~/<IP_address or hostname>/debian/release stable main" | tee /etc/apt/sources.list.d/test_server.list
413 +(% style="background-color:yellow" %)**echo "deb http:~/~/<IP_address or hostname>/debian/release stable main" | tee /etc/apt/sources.list.d/test_server.list**
400 400  
401 401  
416 +
402 402  ==== (% style="color:blue" %)Validate the apt repository(%%) ====
403 403  
419 +
404 404  Get and install the testing package (download testing-0808.deb and test)
405 405  
406 -(% style="background-color:yellow" %)apt update && apt install testing
422 +(% style="background-color:yellow" %)**apt update && apt install testing**
407 407  
424 +
408 408  Example output:
409 409  
410 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.jpg]]
427 +[[image:1661306420449-569.png]]
411 411  
412 412  
413 413  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0