summaryrefslogtreecommitdiffstats
path: root/docs/future/fastboot/get-systemd.sh
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-08-11 09:00:00 (EDT)
committer Michał Masłowski <mtjm@mtjm.eu>2014-08-22 14:29:49 (EDT)
commit8df313c4d6607181576471e08d7e909c9c0f33e9 (patch)
tree249f6003e3293fd4049ad57c267fa7ec1c4269e4 /docs/future/fastboot/get-systemd.sh
parent7eca665d684a734d55b0bb26c4f1831d399c5330 (diff)
downloadlibreboot-r20140811.zip
libreboot-r20140811.tar.gz
libreboot-r20140811.tar.bz2
Libreboot release 6 beta 5.r20140811
- build: added 'luks', 'lvm', 'cmosdump' and 'cmostest' to the list of modules for grub.elf - Documentation: added pics showing T60 unbricking (still need to write a tutorial) - build: include cmos.layout (coreboot/src/mainboard/manufacturer/model/cmos.layout) files in libreboot_bin - Documentation: added ../docs/howtos/x60tablet_unbrick.html - Documentation: added ../docs/howtos/t60_unbrick.html - Documentation: added ../docs/howtos/t60_lcd_15.html - Documentation: added ../docs/howtos/t60_security.html - Documentation: added ../docs/howtos/t60_heatsink.html - Documentation: Renamed RELEASE.html to release.html - Documentation: removed pcmcia reference in x60_security.html (it's cardbus) - Documentation: added preliminary information about randomized seal (for physical intrusion detection) in x60_security.html and t60_security.html - Documentation: added preliminary information about preventing/mitigating cold-boot attack in x60_security.html and t60_security.html - Documentation: added info to ../docs/index.html#macbook21 warning about issues with macbook21 - Documentation: X60/T60: added information about checking custom ROM's using dd to see whether or not the top 64K region is duplicated below top or not. Advise caution about this in the tutorial that deals with flashing on top of Lenovo BIOS, citing the correct dd commands necessary if it is confirmed that the ROM has not been applied with dd yet. (in the case that the user compiled their own ROM's from libreboot, without using the build scripts, or if they forgot to use dd, etc). - Split resources/libreboot/patch/gitdiff into separate patch files (getcb script updated to accomodate this change). - Re-added .git files to bucts - Fixed the oversight where macbook21_firstflash wasn't included in binary archives
Diffstat (limited to 'docs/future/fastboot/get-systemd.sh')
-rw-r--r--docs/future/fastboot/get-systemd.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/future/fastboot/get-systemd.sh b/docs/future/fastboot/get-systemd.sh
new file mode 100644
index 0000000..db18a87
--- /dev/null
+++ b/docs/future/fastboot/get-systemd.sh
@@ -0,0 +1,36 @@
+git clone -b v210-stable git://anongit.freedesktop.org/systemd/systemd-stable
+cd systemd-stable/ && git pull
+
+./autogen.sh --prefix=/usr --with-udevrulesdir=/lib/udev/rules.d --with-distro=debian --with-sysvinit-path= --with-sysvrcd-path= --disable-selinux --enable-libcryptsetup --disable-audit --disable-tcpwrap --disable-plymouth
+
+## Later try to use it with kdbus : --enable-kdbus
+
+# Audit slows down the kernel, only good for corporate use
+# IMA goes hand to hand with TPM - checksums can do the same job
+# AppArmor/SElinux/SECCOMP/SMACK are different ways to do MAC, but require configuration on debian
+#
+# localstatedir is where the journal is kept, /var/log
+# libdir is where the libs links and pkgconfig are installed, /usr/lib
+# rootlibdir is where libs links target and the pamsecurity is, /lib
+# firmware-path is where firmware files are found, /lib/firmware
+# rootprefixdir and prefix is where /lib/udev/ and /lib/systemd/ go, with some bins in bin/
+# bindir is where the rest of the binaries go, /bin
+# sysconfdir is where etc/systemd, etc/udev and the etc/.d directories (tmpfiles, binfmt, modules-load, sysctl, pam) along with xdg, kernel
+# sysroot is where the required includes and libs are found
+# datarootdir is where README and some code sample will be installed, with doc/systemd automatically being added as a suffix
+# datadir is where the locales and dbus-1 services go
+# sharedata is where polkit-1, kbd-model-map and some pkgconfig files go
+# sysvinit compat and zsh completion are also disabled.
+
+./configure CFLAGS='-O2 -ftrapv' --enable-gtk-doc --disable-selinux --disable-smack --disable-ima --with-sysvinit-path="" --with-sysvrcnd-path="" --localstatedir=/var --libdir=/usr/lib --with-rootlibdir=/lib --with-rootprefix=/ --prefix=/ --bindir=/bin --sysconfdir=/etc --with-rc-local-script-path-stop=/etc/halt.local --with-firmware-path=/lib/firmware --with-kbd-setfont=/bin/setfont --with-kbd-loadkeys=/usr/bin/loadkeys --with-html-dir=/usr/share/doc/systemd --with-sysroot=/ --with-debug-tty=/dev/tty11 --with-bashcompletiondir=/etc/bash_completion.d/systemd --with-zshcompletiondir="" --datadir=/usr/share --mandir=/usr/share/man --datarootdir="/usr/share" --includedir=/usr/include/
+
+make && make install
+
+# missing from install
+cp systemd /sbin
+
+# Move locales
+cd /share/locale/ ; for i in */* ; do mv $i/* /usr/share/locale/$i ; done
+rm -fr /share
+
+# add myhostname to /etc/nsswitch.conf