<
From version < 67.3 >
edited by Xiaoling
on 2022/08/24 09:57
To version < 67.2 >
edited by Xiaoling
on 2022/08/24 09:53
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -328,17 +328,17 @@
328 328  === 3.2.6 Generate Release file ===
329 329  
330 330  
331 -==== (% style="color:blue" %)Create the generated script:(%%) ====
331 +==== Create the generated script: ====
332 332  
333 333  
334 -(% style="background-color:yellow" %)**cd /var/www/html/debian/release/dists/stable**
334 +cd /var/www/html/debian/release/dists/stable
335 335  
336 336  
337 -(% style="background-color:yellow" %)**wget [[http:~~/~~/repo.dragino.com/release/tool/unimportant/generate-release.sh>>url:http://repo.dragino.com/release/tool/unimportant/generate-release.sh]]**
337 +wget [[http:~~/~~/repo.dragino.com/release/tool/unimportant/generate-release.sh>>url:http://repo.dragino.com/release/tool/unimportant/generate-release.sh]]
338 338  
339 -(% style="background-color:yellow" %)**chmod + x ./generate-release.sh**
339 +chmod + x ./generate-release.sh
340 340  
341 -(% style="background-color:yellow" %)**./generate-release.sh > Release**
341 +./generate-release.sh > Release
342 342  
343 343  
344 344  
... ... @@ -345,39 +345,40 @@
345 345  === 3.2.7 Sign the Release file with gpg and generating Inrelease file ===
346 346  
347 347  
348 -==== (% style="color:blue" %)Make sure auto-update server has gnupg(%%) ====
348 +==== Make sure auto-update server has gnupg ====
349 349  
350 -(% style="background-color:yellow" %)apt install gnupg
350 +apt install gnupg
351 351  
352 -==== (% style="color:blue" %)generate gpg key(%%) ====
352 +==== generate gpg key ====
353 353  
354 -(% style="background-color:yellow" %)gpg -gen-key
354 +gpg -gen-key
355 355  
356 356  
357 357  **((% style="color:red" %)Note: Fill in the content as required and remember the name and email address)(%%)**
358 358  
359 359  
360 -==== (% style="color:blue" %)Check the gen-key(%%) ====
360 +==== Check the gen-key ====
361 361  
362 -(% style="background-color:yellow" %)gen -list-key
362 +gen -list-key
363 363  
364 364  
365 -==== (% style="color:blue" %)Generate the release.gpg(%%) ====
365 +==== Generate the release.gpg ====
366 366  
367 -(% style="background-color:yellow" %)cd /var/www/html/debian/release/dists/stable
367 +cd /var/www/html/debian/release/dists/stable
368 368  
369 -(% style="background-color:yellow" %)gpg ~-~-armor ~-~-detach-sign -o Release.gpg Release
369 +gpg ~-~-armor ~-~-detach-sign -o Release.gpg Release
370 370  
371 371  
372 -(% style="background-color:yellow" %)gpg ~-~-clearsign -o InRelease Release
372 +gpg ~-~-clearsign -o InRelease Release
373 373  
374 374  
375 375  
376 -==== (% style="color:blue" %)Generate the public key(%%) ====
377 377  
377 +==== Generate the public key ====
378 378  
379 -(% style="background-color:yellow" %)gpg ~-~-armor ~-~-output <name>.asc ~-~-export <email address>
380 380  
380 +gpg ~-~-armor ~-~-output <name>.asc ~-~-export <email address>
381 +
381 381  **example: gpg ~-~-armor ~-~-output xiao.asc ~-~-export **[[xiaoye@dragino.cc>>mailto:xiaoye@dragino.cc]]
382 382  
383 383  
... ... @@ -385,25 +385,25 @@
385 385  
386 386  === 3.2.8 Add url as apt source in LPS8v2 / MS20 ===
387 387  
388 -==== (% style="color:blue" %)Add the public key(%%) ====
389 +==== Add the public key ====
389 389  
390 -(% style="background-color:yellow" %)cp xiao.asc /etc/apt/trusted.gpg.d/
391 +cp xiao.asc /etc/apt/trusted.gpg.d/
391 391  
392 392  (% style="color:red" %)Note: First need to transfer the public key from auto-update server to device.
393 393  
394 394  
395 -==== (% style="color:blue" %)Add the apt source list(%%) ====
396 +==== Add the apt source list ====
396 396  
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
400 +echo "deb http:~/~/<IP_address or hostname>/debian/release stable main" | tee /etc/apt/sources.list.d/test_server.list
400 400  
401 401  
402 -==== (% style="color:blue" %)Validate the apt repository(%%) ====
403 +==== Validate the apt repository ====
403 403  
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
407 +apt update && apt install testing
407 407  
408 408  Example output:
409 409  
... ... @@ -414,7 +414,7 @@
414 414  
415 415  === 3.2.9 Configure the gateway‘s auto-upgrade rules ===
416 416  
417 -==== (% style="color:blue" %)Remove dragino apt source(%%) ====
418 +==== Remove dragino apt source ====
418 418  
419 419  /etc/apt/sources.list
420 420  
... ... @@ -424,7 +424,7 @@
424 424  
425 425  
426 426  
427 -==== (% style="color:blue" %)Set up automatic updates(%%) ====
428 +==== Set up automatic updates ====
428 428  
429 429  Path :/usr/lib/dragino/dragino-apt-updates
430 430  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0