aboutsummaryrefslogtreecommitdiffstats
path: root/system/system.mk
Commit message (Collapse)AuthorAgeFilesLines
* system: simplify BR2_ROOTFS_SKELETON_DEFAULT handlingPeter Korsgaard2013-01-061-7/+1
| | | | | | No functional change. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: add different methods to encode passwordsYann E. MORIN2013-01-061-1/+2
| | | | | | | | | | | Passwords can be encoded in different ways (from the weakest to the strongest): des, md5, sha-256, sha-512 Add a choice entry to select the method, defaulting to 'md5'. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* system: set root password only for default skeletonYann E. MORIN2013-01-061-0/+2
| | | | | | | | | | | | In case one is using a custom skeleton, the root pasword might already be set in this case, and should not be overriden. Just ask for (and set) the root password only for the default skeleton. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* system: TARGET_GENERIC_GETTY: allow it to be disabledPeter Korsgaard2013-01-041-0/+3
| | | | | | | For some systems, you don't want to run any getty, so allow the option to be disabled when the empty string is used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: add option to set the root passwordYann E. MORIN2012-12-301-0/+9
| | | | | | | | | | | | | | | | Add an option in the menuconfig to specify a root password. If set to empty, no root password is created; otherwise, the password is encrypted using MD5 (MD5 is not the default for crypt(3), DES-56 is, but MD5 is widely available, not-so-strong, but not-so-weak either). Add a check for 'mkpasswd' as a new dependency. [Peter: fix typo/capitilization and simplify logic] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* system: add option to configure TERM variableRichard Braun2012-12-161-2/+3
| | | | | | | | This option is useful for cases where the terminal isn't a bare serial vt100, but e.g. a linux tty with more features. Signed-off-by: Richard Braun <rbraun@sceen.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* New top-level directory: systemThomas Petazzoni2012-11-041-0/+53
This directory groups the following elements: * the default root filesystem skeleton * the default device tables * the Config.in options for system configuration (UART port for getty, system hostname, etc.) * the make rules to apply the system configuration options Even though the skeleton and device tables could have lived in fs/, it would have been strange to have the UART, system hostname and other related options into fs/. A new system/ directory makes more sense. As a consequence, this patch also removes target/Makefile.in, which has become useless in the process. [Peter: fixup TARGET_SKELETON settings / documentation to match] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Yann E. MORIN <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>