summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused .morph filesHEADmasterSam Thursfield2015-11-092-102/+0
| | | | | | | We moved .morph files out of chunk repos and into definitions.git over a year ago. Change-Id: I9c6646ee96aced7987e01f9f9dd6428835354c31
* Don't create /etc/ld.so.conf.d as it should be created by the glibc chunkRichard Dale2015-05-061-1/+0
| | | | Change-Id: I9a42032d1f9700b6bbd050123f5cbc1238efcb65
* Merge branch 'baserock/pedroalvarez/fix-fhs'Pedro Alvarez2014-07-172-4/+1
|\ | | | | | | Reviewed-by: Lars Wirzenius
| * Remove any mention of www.baserock.com in /etc/issuebaserock/pedroalvarez/fix-fhsPedro Alvarez2014-07-171-3/+0
| |
| * Add 'x' to the root user to use shadow by defaultPedro Alvarez2014-07-171-1/+1
|/ | | | | | | | | After this change the root user will continue to be created without password, since /etc/shadow is also being populated. This will work also in systems without shadow, if busybox is installed with shadow support.
* Fix typos in the chunk morphologiesAdam Coldrick2014-06-242-2/+2
|
* Converted morphologies to yamldanielfirth/cpan_changesDaniel Firth2013-11-074-258/+102
|
* Added services and protocols file from LM15Daniel Firth2013-11-076-12/+676
|
* Merge branch 'baserock/samthursfield/build-essential-2-rebase'Sam Thursfield2013-03-153-0/+191
|\
| * Add morphs for build-essential bootstrapbaserock/samthursfield/build-essential-2-rebaseSam Thursfield2013-03-113-0/+191
|/ | | | | | | | | | JSON versions are generated from .yaml versions using the edit-morph script in the Morph source tree: 'scripts/edit-morph to-json *.morph.yaml' The .morph files themselves should be converted to YAML after the next Baserock release.
* Use 'devices' in morphology to create device nodesJonathan Maw2013-02-282-38/+47
| | | | | | | | | | | | | Allowing arbitrary code to create device nodes is a bad idea, so it is preferred to build under linux-user-chroot. Since we need to create device nodes, a "devices" field is added to the chunk morphology, which describes which devices nodes are to be created, and how. This commit will not work without the corresponding changes to morph. Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
* Merge remote-tracking branch 'origin/baserock/genivi-baseline-rebase'Sam Thursfield2013-02-224-1/+21
|\
| * Add pulse to audio group so it can identify hardwarebaserock/genivi-baseline-rebaseJonathan Maw2013-02-211-1/+1
| |
| * Add all groups required by pulseaudioJonathan Maw2013-02-211-0/+2
| |
| * Create pulse userJonathan Maw2013-02-211-0/+1
| |
| * Add nfs to servicesbaserock/samthursfield/nfsSam Thursfield2012-11-191-0/+3
| |
| * Add minimal /etc/servicesSam Thursfield2012-11-192-0/+14
|/ | | | | | | | | The full list is between 188 and 750KB, which is too much to be in foundation. The current file is what is required for nfs to work, which would ideally go in the nfs stratum, but since we can't merge files in /etc I have put it here in fhs-dirs to avoid confusion when we add other network services.
* Set hostname for udhcpcd to useDaniel Silverstone2012-10-031-0/+1
|
* Add /etc/issue to BaserockLars Wirzenius2012-08-082-0/+14
| | | | Reviewed-By: Richard Maw (on irc)
* Remove init.d and rcS, add shadow and permissionsRichard Maw2012-07-304-30/+5
| | | | | | | | | | init.d and rcS are not needed by systemd, so remove them. Permissions should have been set correctly in the first place. shadow is needed for busybox's sulogin to work correctly, which in turn is needed for systemd's emergency console, which is needed when an fstab entry is bad.
* create-dev-noes: re-add urandom, full and zeroRichard Maw2012-05-171-2/+9
| | | | | | | | | | | | | | | More devices are needed during building, they won't actually be needed in the final system image, because a devtmpfs is mounted over /dev by the kernel. urandom is needed by test suites and some cryptography stuff, like python's multiprocessing module and openssl random consumes entropy so isn't really safe to put in here zero and full are harmless and something may use them. console may no longer be needed, but there have been warnings that console and null are needed before udev can fill /dev, however this may no longer be necessary since the kernel has devtmpfs.
* create-fhs-dirs: var/run back to being a directoryRichard Maw2012-05-161-1/+1
| | | | | | | | This doesn't work when building using a staging area, since it already has a /var/run directory, which tar won't replace with a symlink. dbus also creates a directory in /var/run, so it may not cope with being ephemeral.
* create-fhs-dirs: set -x for more useful outputRichard Maw2012-05-161-1/+1
|
* fhs-dirs: generalize symlinks, /var/run -> /runRichard Maw2012-05-162-2/+7
| | | | | | | | Given we need more than one symlink now it is appropriate to provide a general mechanism for listing them, like with dirs /run is usually a tmpfs and /var/run is semantically the same anyway, so make is a symlink
* add user and group for default dbus userRichard Maw2012-05-032-0/+2
|
* group: add utmp and lockRichard Maw2012-05-031-0/+2
| | | | | These groups are required for systemd to make its tmpfs mounts lock is a legacy group, but it is easy enough to add
* fhs-dirs.morph: use whatever passes for shRichard Maw2012-03-221-2/+2
| | | | | The shell may not be /bin/sh, so execute the script with whatever shell is in PATH
* users: change root's home to /rootRichard Maw2012-03-111-1/+1
|
* users: add daemon user for portmapRichard Maw2012-03-052-5/+7
|
* init: make /etc/mtab be a symlink to /proc/mountsRichard Maw2012-03-052-2/+1
|
* init: have inittab run rcSRichard Maw2012-03-051-1/+1
|
* init: add support for servicesRichard Maw2012-03-052-1/+3
|
* rcS: remove tmpfs mountbaserock/bootstrapRichard Maw2012-02-271-1/+0
| | | | | | The kernel now has DEVTMPFS and DEVTMPFS_MOUNT, this will mount a tmpfs on /dev and add nodes to it. mdev may only be used as hotplug it may set permissions though, like udev does
* config changes for [um]dev and sshRichard Maw2012-02-274-14/+19
| | | | | | | | | | | | | | | Mdev is currently being used as it is part of busybox This does not need all of the device nodes previously specified as it is able to create them, so they are removed from create-dev-nodes /dev/console and /dev/null may be needed to boot rcS has been changed to use a tmpfs for /dev, this will be filled by mdev. http://lwn.net/Articles/330985/ suggests that it may be faster to use a devtmpfs as [um]dev only needs to set the permissions though. More users and groups have been added. Many are for the standard [um]dev device configuration. The sshd user and group are for ssh as we do not have a good way to add groups in morph yet.
* rcS: set the hostname on bootRichard Maw2012-02-231-0/+2
|
* rcS: clear mtab, mount pts, run mdevRichard Maw2012-02-231-0/+7
| | | | | | | mtab does not clean itself on restart /dev/pts is needed for interactive programs like ssh mdev is busybox's subtitute for udev, this will populate /dev this means that some stuff can be removed from create-dev-nodes
* create-fhs-dirs: remove lib64 symlinksRichard Maw2012-02-171-4/+0
| | | | | real dirs got built somehow and they can't be replaced with symlinks
* create-dev-nodes: add more devicesRichard Maw2012-02-141-0/+3
| | | | | More of the standard devices are needed to use morph This fixes S1012
* Improve fhs-dirs chunk descriptionLars Wirzenius2012-02-131-1/+1
|
* tell rcS to bring eth0 upRichard Maw2012-02-101-0/+3
|
* add some things required for network supportRichard Maw2012-02-103-0/+8
| | | | | /var/run is needed for /var/run/ifstate /etc/network/interfaces is needed to tell what to use
* Use individual mount commands, mount -a did not appear to workRichard Maw2012-02-091-1/+2
|
* Merge branch 'baserock/bootstrap' of gitorious.org:baserock/fhs-dirs into ↵Richard Maw2012-01-183-0/+11
|\ | | | | | | baserock/bootstrap
| * add a default /etc/ld.so.confLars Wirzenius2012-01-113-0/+7
| | | | | | | | Also, add /etc/ld.so.conf.d, and include *.conf from there.
| * point to lib, not the symlink itself, mehLars Wirzenius2012-01-061-2/+2
| |
| * make lib64 and usr/lib64 be symlinks to the lib dirLars Wirzenius2012-01-061-0/+4
| |
* | Merge branch 'baserock/bootstrap', remote-tracking branch ↵Richard Maw2011-12-120-0/+0
|/ | | | 'remotes/origin/baserock/bootstrap' into baserock/bootstrap
* Fix 'cannot open tty; job control turned off'Richard Maw2011-12-091-1/+1
|
* Add terminal login supportRichard Maw2011-12-096-2/+56
| | | | | | | | | | | | | | Add more nodes to /dev and passwd,group,inittab to /etc add rcS, which mounts the contents of fstab Make the contents of fstab mount on startup This manually creates some device nodes that are needed for serial and virtual terminals, as well as the user and group information so that it is possible to log in as root. It may be more appropriate to create a new morph, as this is not strictly the fhs-dirs hierarchy, but at this stage that would require a new repository and the alteration of foundation to require that morph.
* remove unnecessary bootstrap directory structure creationLars Wirzenius2011-11-301-7/+0
|