浏览代码

Record completion of random number generator install

Bob Mottram 10 年前
父节点
当前提交
802e7fcad6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh 查看文件

3194
       # no hardware random number generator is available
3194
       # no hardware random number generator is available
3195
       # and use the second best option
3195
       # and use the second best option
3196
       apt-get -y --force-yes install haveged
3196
       apt-get -y --force-yes install haveged
3197
+      echo 'random_number_generator' >> $COMPLETION_FILE
3197
       return
3198
       return
3198
   fi
3199
   fi
3199
   if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
3200
   if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
3200
       # it is assumed that docker uses the random number
3201
       # it is assumed that docker uses the random number
3201
       # generator of the host system
3202
       # generator of the host system
3203
+      echo 'random_number_generator' >> $COMPLETION_FILE
3202
       return
3204
       return
3203
   fi
3205
   fi
3204
   if [[ $USE_HWRNG == "yes" ]]; then
3206
   if [[ $USE_HWRNG == "yes" ]]; then