顯示具有 linux 標籤的文章。 顯示所有文章
顯示具有 linux 標籤的文章。 顯示所有文章

2018年1月10日 星期三

Linux - 管理 patch 的工具 : quilt


  • 1. 使用 quilt 
    • 需要在其他開發者的 source code 增加程式碼 (例 : linux kernel, hostapd ...)
      因爲無法直接使用 git 的方式 push code,
      所以使用 patch 的方式增加需要修改的 code,
      而 quilt 就是管理和產生 patch 的工具
    • quilt 的操作跟 stack 一樣,
      quilt push -> 把一個 patch 的內容放到 source code
      quilt pop  -> 讓 source code 的內容回復還沒有上一個 patch 的狀態
  • 2. 安裝 quilt
    • sudo apt-get install quilt

2017年10月12日 星期四

[Linux] update time


暫停VM, 重開後的時間會是暫停VM時的時間, 不會自動更新時間


  • 查看現在時間
    • kaiyuan@linux:~$ date
      四  8月 31 19:42:44 CST 2017