Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #133 from yonatan-schultz/add_cpuse
Browse files Browse the repository at this point in the history
Update chroot-script.sh
  • Loading branch information
DieterReuter committed Sep 2, 2016
2 parents a31e6bb + d6180b4 commit afbc950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ usermod -a -G video pirate
printf "# Spawn a getty on Raspberry Pi serial line\nT0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100\n" >> /etc/inittab

# boot/cmdline.txt
echo "+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=memory swapaccount=1 elevator=deadline fsck.repair=yes rootwait console=ttyAMA0,115200 kgdboc=ttyAMA0,115200" > /boot/cmdline.txt
echo "+dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=cpuset cgroup_enable=memory swapaccount=1 elevator=deadline fsck.repair=yes rootwait console=ttyAMA0,115200 kgdboc=ttyAMA0,115200" > /boot/cmdline.txt

# create a default boot/config.txt file (details see http://elinux.org/RPiconfig)
echo "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
its(:content) { should match /root=\/dev\/mmcblk0p2/ }
its(:content) { should match /rootfstype=ext4/ }
its(:content) { should match /cgroup_enable=memory/ }
its(:content) { should match /cgroup_enable=cpuset/ }
its(:content) { should match /swapaccount=1/ }
its(:content) { should match /elevator=deadline/ }
its(:content) { should match /fsck.repair=yes/ }
Expand Down

0 comments on commit afbc950

Please sign in to comment.