小编fad*_*bee的帖子

如何自动设置“键盘配置”包?

我正在编写一个脚本,使用 debootstrap(在 Ubuntu 16.04 服务器机器上)将 Ubuntu 16.04 服务器安装到 chroot jail 中。

在设置keyboard-configuration包的过程中,它会询问键盘类型:

Setting up keyboard-configuration (1.108ubuntu15) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring keyboard-configuration
----------------------------------

The layout of keyboards varies per country, with some countries having multiple
common layouts. Please select the country of origin for the keyboard of this
computer.

  1. Afghani                                     48. Irish
  2. Albanian                                    49. Italian …
Run Code Online (Sandbox Code Playgroud)

apt keyboard-layout debootstrap chroot

31
推荐指数
2
解决办法
2万
查看次数

作为原作者,制作源码和二进制包最简单的方法是什么?

到目前为止我读过的 Debian 打包指南假设打包者不是维护者,因此需要原始的 tarball、补丁等。

如果我有一个使用“make”(不是自动工具等)构建的应用程序,我需要什么样的打包指南?

我不想制作毫无意义的 tarball 和空补丁。

我确实想要源代码和二进制包。

packaging debian

5
推荐指数
1
解决办法
185
查看次数

标签 统计

apt ×1

chroot ×1

debian ×1

debootstrap ×1

keyboard-layout ×1

packaging ×1