8000 log boot script output to file. by SvenDowideit · Pull Request #463 · boot2docker/boot2docker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

log boot script output to file. #463

Merged
merged 5 commits into from
Aug 12, 2014

Conversation

SvenDowideit
Copy link
Contributor

change bootsync.sh to bootscript.sh and output console to /boot.log #366

I'm going to work to finish #366 here.

@SvenDowideit
Copy link
Contributor Author

@steeve @tianon @crosbymichael

please consider :)

ln -s /var/lib/boot2docker/docker.log $ROOTFS/var/log/
ln -s /usr/local/etc/init.d/docker $ROOTFS/etc/init.d/
#chmod +x /usr/local/etc/init.d/docker
chmod +x $ROOTFS/usr/local/etc/init.d/docker

This comment was marked as spam.

@SvenDowideit
Copy link
Contributor Author

@qxo - is there any chance you can respond to @tianon's questions? I was puzzled too, and hadn't gotten to deciding why, so didn't want to just change it without knowing / discussing first.

@SvenDowideit
Copy link
Contributor Author

@tianon I've done a little here and there, can you poke holes a little more, or merge and we'll clean up more later.

@qxo
Copy link
Contributor
qxo commented Aug 8, 2014

where are these questions?

2014-08-04 12:35 GMT+08:00 Sven Dowideit notifications@github.com:

@qxo https://github.com/qxo - is there any chance you can respond to
@tianon https://github.com/tianon's questions? I was puzzled too, and
hadn't gotten to deciding why, so didn't want to just change it without
knowing / discussing first.


Reply to this email directly or view it on GitHub
#463 (comment)
.

@SvenDowideit
Copy link
Contributor Author

@qxo - they're the 'tianon commented on an outdated diff' ones above :) I've spent some time on it, but I'm still not 100% sure what you intended with some.

@qxo
Copy link
Contributor
qxo commented Aug 11, 2014

which one? Maybe some lines was no meanings.

My work was tried to fixed the automount issues base on
boot2docker/boot2docker (
https://github.com/boot2docker/boot2docker/blob/master/doc/BUILD.md#making-your-own-customised-boot2docker-iso
)

2014-08-11 8:51 GMT+08:00 Sven Dowideit notifications@github.com:

@qxo https://github.com/qxo - they're the 'tianon commented on an
outdated diff' ones above :) I've spent some time on it, but I'm still not
100% sure what you intended with some.


Reply to this email directly or view it on GitHub
#463 (comment)
.

@SvenDowideit SvenDowideit mentioned this pull request Aug 11, 2014
@SvenDowideit
Copy link
Contributor Author

#qxo oh, no wonder its complicated then - the PR is for logging the bootup to file, and there have been some automount issues fixed in other PR's. Lets hope that we've covered all the issues, or new PR's should be raised.

@SvenDowideit
Copy link
Contributor Author

merging - @tianon if you have concerns, please fix them in a new PR.

SvenDowideit pushed a commit that referenced this pull request Aug 12, 2014
@SvenDowideit SvenDowideit merged commit 7530568 into boot2docker:master Aug 12, 2014
@qxo
Copy link
Contributor
qxo commented Aug 12, 2014

about auto mount issue ,sleep 2 second on usb boot maybe too small.

make a loop check will solve the problem:

#on /etc/rc.d/automount

loop check for some reason disk need some delay

for p1 in $(seq 1 40)
do
if [ -n "$BOOT2DOCKER_DATA" ]; then
echo "found $BOOT2DOCKER_DATA at $p1 time check.";
break;
fi
echo "$LABEL not found at$p1"
sleep 1;
done

2014-08-12 9:00 GMT+08:00 Sven Dowideit notifications@github.com:

Merged #463 #463.


Reply to this email directly or view it on GitHub
#463 (comment).

cpuguy83 pushed a commit to cpuguy83/boot2docker that referenced this pull request Aug 26, 2014
@SvenDowideit SvenDowideit deleted the log-boot-script branch October 13, 2016 07:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0