Changes for page Armbian OS instruction
Last modified by Edwin Chen on 2025/02/26 08:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -345,86 +345,69 @@ 345 345 === 3.2.7 Sign the Release file with gpg and generating Inrelease file === 346 346 347 347 348 - 349 349 ==== (% style="color:blue" %)Make sure auto-update server has gnupg(%%) ==== 350 350 350 +(% style="background-color:yellow" %)apt install gnupg 351 351 352 -(% style="background-color:yellow" %)**apt install gnupg** 353 - 354 - 355 - 356 356 ==== (% style="color:blue" %)generate gpg key(%%) ==== 357 357 354 +(% style="background-color:yellow" %)gpg -gen-key 358 358 359 -(% style="background-color:yellow" %)**gpg -gen-key** 360 360 361 - 362 362 **((% style="color:red" %)Note: Fill in the content as required and remember the name and email address)(%%)** 363 363 364 364 365 - 366 366 ==== (% style="color:blue" %)Check the gen-key(%%) ==== 367 367 362 +(% style="background-color:yellow" %)gen -list-key 368 368 369 -(% style="background-color:yellow" %)**gen -list-key** 370 370 371 - 372 - 373 373 ==== (% style="color:blue" %)Generate the release.gpg(%%) ==== 374 374 367 +(% style="background-color:yellow" %)cd /var/www/html/debian/release/dists/stable 375 375 376 -(% style="background-color:yellow" %) **cd/var/www/html/debian/release/dists/stable**369 +(% style="background-color:yellow" %)gpg ~-~-armor ~-~-detach-sign -o Release.gpg Release 377 377 378 -(% style="background-color:yellow" %)**gpg ~-~-armor ~-~-detach-sign -o Release.gpg Release** 379 379 372 +(% style="background-color:yellow" %)gpg ~-~-clearsign -o InRelease Release 380 380 381 -(% style="background-color:yellow" %)**gpg ~-~-clearsign -o InRelease Release** 382 382 383 383 384 - 385 385 ==== (% style="color:blue" %)Generate the public key(%%) ==== 386 386 387 387 388 -(% style="background-color:yellow" %) **gpg ~-~-armor ~-~-output <name>.asc ~-~-export <email address>**379 +(% style="background-color:yellow" %)gpg ~-~-armor ~-~-output <name>.asc ~-~-export <email address> 389 389 390 - 391 391 **example: gpg ~-~-armor ~-~-output xiao.asc ~-~-export **[[xiaoye@dragino.cc>>mailto:xiaoye@dragino.cc]] 392 392 393 393 394 394 385 + 395 395 === 3.2.8 Add url as apt source in LPS8v2 / MS20 === 396 396 397 - 398 - 399 399 ==== (% style="color:blue" %)Add the public key(%%) ==== 400 400 390 +(% style="background-color:yellow" %)cp xiao.asc /etc/apt/trusted.gpg.d/ 401 401 402 -(% style=" background-color:yellow" %)**cpxiao.asc /etc/apt/trusted.gpg.d/**392 +(% style="color:red" %)Note: First need to transfer the public key from auto-update server to device. 403 403 404 -(% style="color:red" %)**Note: First need to transfer the public key from auto-update server to device.** 405 405 406 - 407 - 408 408 ==== (% style="color:blue" %)Add the apt source list(%%) ==== 409 409 410 - 411 411 Add the apt source list url and name this as test_server.list 412 412 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**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 414 414 415 415 416 - 417 417 ==== (% style="color:blue" %)Validate the apt repository(%%) ==== 418 418 419 - 420 420 Get and install the testing package (download testing-0808.deb and test) 421 421 422 -(% style="background-color:yellow" %) **apt update && apt install testing**406 +(% style="background-color:yellow" %)apt update && apt install testing 423 423 424 - 425 425 Example output: 426 426 427 -[[image: 1661306420449-569.png]]410 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.jpg]] 428 428 429 429 430 430
- 1661306420449-569.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -237.0 KB - Content
- 1661306460134-112.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -146.8 KB - Content
- 1661306487761-768.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -291.9 KB - Content